|Version 8 (modified by 10 years ago) ( diff ),|
After installing Python:
As a Developer, it is best to run the Trunk version of Web2Py, so that you can fine-tune the version that you have installed & get involved with the Web2Py developer community:
git clone https://github.com/mdipierro/web2py.git
Note: HTTPS clones are not read-only (while git:// clones are). They will NOT work if your git is not configured as previously described.
There are occasional issues with the latest Trunk, so you may need to try a slightly older revision. If this is needed, after downloading:
cd web2py git log git checkout <hash>
"git log" shows you a log including the hash-value of every revesion. Checkout sets your working-copy to the revision with the specified hash-value.
As a Developer, you should generally run the Trunk version of Eden, so that you can submit patches against the latest code:
cd web2py/applications git clone https://github.com/flavour/eden.git
NB Note the fact that we ensure that the name of the web2py application has no hyphen in, as otherwise it cannot run under Apache!
If you just want to test your installation of Eden, without Eclipse, you can start web2py from the command line:
cd .. # the web2py main directory python web2py.py
If you want a graphical debugger to set breakpoints & step through code then it is recommended to install Eclipse:
Now, see how to put your installation to work: