Version 5 (modified by 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:
- lifeeth: http://j2me.sahanapy.org
- connie/reza: http://decisions.sahanapy.org
- hasanatkazmi: http://p2p.sahanapy.org
- kkhushi: http://dvi.sahanapy.org
- ajuonline: http://logistics.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:
- Linux: http://web2py.com/AlterEgo/default/show/68
- Windows: http://web2py.com/AlterEgo/default/show/143
NB Replace '8000' with the port assigned to you.