11 | | == Usage Guidelines == |
| 14 | The virtual machine is built on [http://www.turnkeylinux.org/core TurnKey Linux's Core], which in turn is based on Ubuntu 10.04 (Lucid -- the most recent long-term support release). |
| 15 | |
| 16 | The machines run [http://code.google.com/p/shellinabox/ Shellinabox], [http://www.webmin.com/ Webmin], and SSH/sftp as services from startup. |
| 17 | |
| 18 | The development environment is configured to launch [http://lxde.org LXDE], a lightweight desktop environment after the first boot. |
| 19 | === Credentials === |
| 20 | Web2py administration password is set during the debugging process with either of the following commands and arguments, both of which would set the admin password to "admin": |
| 21 | {{{ |
| 22 | /home/dev/web2py.py -a admin -i 127.0.0.1 -p 80 |
| 23 | |
| 24 | /home/dev/web2py.py --password admin -i 127.0.0.1 -p 80 |
| 25 | }}} |
| 26 | ==== Root User ==== |
| 27 | Username: root |
| 28 | |
| 29 | Password: to be determined |
| 30 | ==== Dev User ==== |
| 31 | Username: dev |
| 32 | |
| 33 | Password: to be determined |
| 34 | |
| 35 | === Filesystem === |
| 36 | Web2py is located in /home/web2py. Eden is located in /home/web2py/applications/eden. Eclipse and PyDev are preconfigured with this information. |
| 37 | |
| 38 | === Scripts === |
| 39 | /usr/local/bin contains three helpful scripts. To run them, start LXTerminal (in the accessories menu) and simply enter the commands as demonstrated below. They are in all users' paths, so may be executed from any working directory. |
| 40 | ==== Update web2py ==== |
| 41 | Enter the command with or without a revision number, as demonstrated below: |
| 42 | {{{ |
| 43 | update_web2py 2717 #updates web2py to rev 2717 |
| 44 | update_web2py #updates web2py to recent revision |
| 45 | }}} |
| 46 | ==== Import Eden ==== |
| 47 | {{{ |
| 48 | update_eden 1560 #updates Eden to rev 1560 |
| 49 | update_eden #updates Eden to recent revision |
| 50 | }}} |
| 51 | ==== Update Eden ==== |
| 52 | Imports Eden to Web2py |
| 53 | {{{ |
| 54 | import #updates Eden to rev 1560 |
| 55 | }}} |
| 56 | |
| 57 | |
| 58 | == Legacy Usage Guidelines == |