wiki:InstallationGuidelines/Developer/PostPython

Version 6 (modified by Fran Boon, 10 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:

bzr branch lp:~mdipierro/web2py/devel web2py

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
bzr revno
bzr revert -r <earlier revision>

If you have a slow internet connection, then bzr branch of Web2Py may take a long time (640Mb). If you wish to get started more quickly, you can do a "lightweight checkout", which does not provide the revision history and so cannot be used to either rollback to earlier versions or updated to newer ones:

bzr checkout --lightweight lp:~mdipierro/web2py/devel web2py

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
bzr branch lp:sahana-eden eden

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:

Note: See TracWiki for help on using the wiki.