Author: jleroux
Date: Mon Aug 12 08:59:02 2019
New Revision: 1864948
URL: http://svn.apache.org/viewvc?rev=1864948&view=rev
Log:
Updates demos wiki page
Modified:
ofbiz/tools/wiki-files/demos/README.md.html
Modified: ofbiz/tools/wiki-files/demos/README.md.html
URL:
http://svn.apache.org/viewvc/ofbiz/tools/wiki-files/demos/README.md.html?rev=1864948&r1=1864947&r2=1864948&view=diff
==============================================================================
--- ofbiz/tools/wiki-files/demos/README.md.html (original)
+++ ofbiz/tools/wiki-files/demos/README.md.html Mon Aug 12 08:59:02 2019
@@ -16,27 +16,20 @@
<![endif]-->
</head>
<body>
-<p>Three instances of OFBiz run on the OFBiz demo VM2 at
https://ofbiz-vm2.apache.org.</p>
+<p>Three instances of OFBiz run on the OFBiz demo VM3 at
https://ofbiz-vm3.apache.org.</p>
<ul>
<li>trunk: the trunk version</li>
<li>stable: the last stable version (currently 16.11)</li>
<li>old: the previous stable version (currently 13.07)</li>
</ul>
-<p>This is the second instance of VM we use hence the 2 in its domain name.
The root of https://ofbiz-vm2.apache.org is the so called bigfiles directory
which is actually at /home/ofbizDemo/big-files</p>
+<p>This is the 3rd instance of VM we use hence the 3 in its domain name. The
root of https://ofbiz-vm3.apache.org is the so called bigfiles directory which
is actually at /var/www/ofbiz/big-files.</p>
<p>We own 3 Apache sub domains</p>
<ul>
<li>https://demo-trunk.ofbiz.apache.org</li>
<li>https://demo-stable.ofbiz.apache.org</li>
<li>https://demo-old.ofbiz.apache.org</li>
</ul>
-<p>The Puppet configuration is at
https://github.com/apache/infrastructure-puppet/blob/deployment/data/nodes/ofbiz-vm2.apache.org.yaml
To modify it there is 2 possibilities. 1. You know what you are doing or have
a idea about it: * Create your own fork of
https://github.com/apache/infrastructure-puppet/, * make the modifications, *
push them, * ask for a Pull Request 2. You donât know how to change things.
Just create an Infra Jira asking for the wanted changeâ¦and be patient ;)</p>
-<p>To help you here is <a
href="https://github.com/apache/infrastructure-puppet/commits/deployment/data/nodes/ofbiz-vm2.apache.org.yaml"
title="changes history">the changes history</a></p>
-<blockquote>
-<p><em>Note</em>: To update your fork with command line:</p>
-</blockquote>
-<pre><code> git fetch upstream
- If it does not work: git remote add upstream
https://github.com/apache/infrastructure-puppet.git
- git merge upstream/deployment</code></pre>
+<p>The Puppet configuration is at
https://github.com/apache/infrastructure-p6/blob/production/data/nodes/ofbiz-vm3.apache.org.yaml
Itâs currently impossible to directly modify, itâs a private Github repo.
Just create an Infra Jira asking for the wanted changeâ¦and be patient ;)</p>
<blockquote>
<p><em>Note</em>: <strong>Only run the ofbiz demos using the âofbizDemoâ
user, never run as root.</strong></p>
</blockquote>
@@ -44,7 +37,9 @@
sudo -s -u ofbizDemo -H
-sudo uses OTP (One Time Password), so you not only need to be registered as a
sudoer (ask Infra) but also to use a tool like Donkey on Ubuntu (jleroux: I use
that) to generate the OTP
+sudo uses OTP*
+
+OTP for (One Time Password). You not only need to be registered as a sudoer
(ask Infra) but also to use a tool like
https://reference.apache.org/committer/otp-md5 to generate the OTP
Then you can start/stop as required.
To check if the demos are being run as the ofbizDemo user:
@@ -52,10 +47,10 @@ To check if the demos are being run as t
ps aux | grep ofbizDemo
The first column on the left tell you the username the demo is
-being run as - it should say ofbizDemo (UID) or 9997 (GID) !
+being run as - it should say ofbizDemo (UID).
-Type 'exit' to exit the ofbizDemo user and return to your normal
user.</code></pre>
-<p>Also note that the demos are usually updated and started/stopped
automatically using the check-svn-update.sh script in this directory, it is run
by an ofbiz cron job every 24 hours at 3 AM. You should therefore only need to
start/stop manually if there is a problem.</p>
+Type 'exit' to exit the ofbizDemo user and return to your
username.</code></pre>
+<p>Also note that the demos are usually updated and started/stopped
automatically using the check-svn-update.sh script in this directory, it is run
by an ofbizDemo cron job every 24 hours at 3 AM. You should therefore only need
to start/stop manually if there is a problem.</p>
<p><del>If you want to restart only a single instance you can respectively use
trunk-manual-nicely.sh stable-manual-nicely.sh old-manual-nicely.sh</del> This
does not work (at least for instances using Gradle. So currently R13.07 is not
affected you can use old-manual.sh). See why at
https://issues.apache.org/jira/browse/OFBIZ-10287 So you need to use
trunk-manual-nicely.sh for now and restart all instances even if only one is
changed.</p>
</body>
</html>