Changes between Version 2 and Version 3 of gsocguidelines
- Timestamp:
- 05/14/09 20:56:32 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
gsocguidelines
v2 v3 1 This is the guide to host your project demo's to be public. 1 == GSoC Guidelines == 2 2 3 Login to demo.sahanapy.org server using your assigned user names and passwords. 3 Install Sahana locally according to InstallationGuidelinesDeveloper 4 4 5 After logging in you will need to spawn web2py according to the ports assigned to you. 5 You should register your code branch on Launchpad: 6 * https://code.launchpad.net/sahana 6 7 7 example: 8 For lifeeth it is: 8 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: 9 * lifeeth: http://j2me.sahanapy.org 10 * connie: http://decisions.sahanapy.org 11 * hasanatkazmi: http://p2p.sahanapy.org 12 * kkhushi: http://dvi.sahanapy.org 13 * ajuonline: http://logistics.sahanapy.org 9 14 15 Login to the server via SSH using your assigned user names and passwords. 16 17 Install Web2Py & your Sahana branch (using InstallationGuidelinesDeveloper as a guide) 18 19 After logging in you will need to spawn web2py according to the ports assigned to you: 10 20 {{{ 11 python web2py.py -p 800 121 python web2py.py -p 800x 12 22 }}} 23 13 24 For running the web2py instance in the background you can execute: 25 {{{ 26 screen python web2py.py -p 800x 27 }}} 14 28 15 screen python web2py.py -p 8002 16 17 To detach from the screen 18 29 To detach from the screen: 19 30 {{{ 20 31 ctrl+a d 21 32 }}} 22 33 23 To reconnect to the screen to kill the instance do a 24 34 To reconnect to the screen to kill the instance (e.g. to restart after editing a module): 25 35 {{{ 26 36 screen -r … … 28 38 }}} 29 39 30 To connect to the admin panel of the web2py using an ssh tunnel refer to 31 32 [http://web2py.com/AlterEgo/default/show/68] for linux and 33 [http://web2py.com/AlterEgo/default/show/143] for windows,replacing 8000 with the ports assigned to you. 34 35 36 Your instances will be available at the urls associated with you below. 37 38 lifeeth, port 8001 39 j2me.sahanapy.org 40 41 connie, port 8002 42 decisions.sahanapy.org 43 44 hasanatkazmi, port 8003 45 p2p.sahanapy.org 46 47 kkhushi, port 8004 48 dvi.sahanapy.org 49 50 ajuonline, port 8005 51 logistics.sahanapy.org 40 To connect to the admin panel of the web2py using an ssh tunnel refer to: 41 * Linux: http://web2py.com/AlterEgo/default/show/68 42 * Windows: http://web2py.com/AlterEgo/default/show/143 43 NB Replace '8000' with the port assigned to you.