Version 7 (modified by 13 years ago) ( diff ) | ,
---|
After installing Python:
Install Web2Py
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 git://github.com/mdipierro/web2py.git
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.
Install Eden
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!
Start Eden
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
Install Eclipse
If you want a graphical debugger to set breakpoints & step through code then it is recommended to install Eclipse:
Developer Guidelines
Now, see how to put your installation to work: