wiki:gsocguidelines

Version 5 (modified by Fran Boon, 15 years ago) ( diff )

--

Branch Demo Setup Guidelines

e.g. for GSoC students

Install Sahana locally according to InstallationGuidelinesDeveloper

You should register your code branch on Launchpad:

You can make a live demo of your code available publically (e.g. to share with your mentors) by using the space set aside for you on demo.sahanapy.org:

Login to the server via SSH using your assigned user names and passwords.

Install Web2Py & your Sahana branch (using InstallationGuidelinesDeveloper as a guide)

Suggest symlinking your app to make it the default:

ln -s web2py/applications/sahana web2py/applications/init

After logging in you will need to spawn web2py according to the ports assigned to you:

python web2py.py -p 800x

For running the web2py instance in the background you can execute:

screen python web2py.py -p 800x

To detach from the screen:

ctrl+a d

To reconnect to the screen to kill the instance (e.g. to restart after editing a module):

screen -r 
ctrl+c

To connect to the admin panel of the web2py using an ssh tunnel refer to:

NB Replace '8000' with the port assigned to you.

Note: See TracWiki for help on using the wiki.