Version 28 (modified by 14 years ago) ( diff ) | ,
---|
Blueprint for LiveCD & Installer
A Live CD (probably based on Ubuntu) that can be used to demo and deploy a Sahana Eden instance.
The same CD can be used to build Virtual Machines.
We want 4 different builds:
- Lite
- Normal
- GIS
- Dev
Build notes are being maintained at http://9while9.com.
Lite
Designed to provide a quick LiveCD demo of functionality without needing any installation.
Can also be run headless as a simple server to be accessed by host's Web browser & perhaps 1-2 other users on a small LAN.
- Python
- Rocket (i.e. web2py's native webserver)
- Sqlite (i.e. Python's native DB)
Build
bzr checkout --lightweight -r 2717 lp:~mdipierro/web2py/devel web2py cd web2py/applications bzr checkout --lightweight -r XXX lp:sahana-eden eden
Run with password & NIC bound to real IP (need to work out how to find this out):
python web2py.py -a <password> -i x.x.x.x update: python web2py -a <password> -i 0 127.0.0.1
Grabbing the ip for insert into 000_config.py
hostname -i | sed 's/127.0.0.1 //'
Updates
Need a way to keep the system updated easily (web2page?):
cd web2py bzr up -r <revision> cd applications/eden bzr up -r <revision>
Normal
Designed to be run headless in an office of up to 50 users with poor quality Internet...would be a dedicated machine if a lot of users.
- Apache/WSGI
- MySQL (we have better tools for handling db migrations currently)
or
- PostgreSQL (better for being common to GIS)
GIS
Designed to be run headless in an office of up to 50 users with poor quality Internet...would be a dedicated machine if a lot of users.
Useful for the GPS Sharing tool, for instance.
- InstallationGuidelinesGISData
- OSGeo LiveDVD is based on Ubuntu & includes Data. Eden may be on the next version.
- Apache/WSGI
- PostGIS
- GeoServer
- osmosis
- Mapnik
- DATA
- Scripts to download content by geographic area (ideally these would be added to Sahana UI for use outside this environmonet too, but that could come later)
- OpenStreetMap
- Contours
Dev
Update: Revision A for VB is available here with usage notes, credentials, build notes, and to do list.
Designed for use in Training sessions where we want to get a number of people on diverse equipment operational quickly. Should include a Desktop, iPython & Debugging tools: Eclipse & Firebug.
Eclipse needs configuring to support Web2Py & Web2Py would normally be run from Eclipse's Debug mode.
Homepage of Firefox would be set to http://127.0.0.1:8000/eden
Firefox should include useful bookmarks such as Launchpad, Trac, web2py book, jquery docs, etc
This would replace our existing Dev VM.
Build
bzr branch -r 2717 lp:~mdipierro/web2py/devel web2py cd web2py/applications bzr branch -r XXX lp:sahana-eden eden
Updates
'update' alias
cd web2py bzr pull -r <revision> cd applications/eden bzr pull -r <revision>
Status
Chelsea School are building these for us based on TurnKey Linux