Changes between Version 9 and Version 10 of InstallationGuidelines/Linux/Developer/Script
- Timestamp:
- 12/06/11 09:43:30 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/Linux/Developer/Script
v9 v10 9 9 # 10 10 # Install a Sahana Eden Developer environment in Ubuntu 11 # - tested on 1 1.1011 # - tested on 10.04 and 11.10 12 12 # 13 13 … … 68 68 69 69 # Install Web2Py 70 cd 70 cd /home 71 71 if [[ "$MODE" = "full" ]]; then 72 # Install Bzr Trunk 73 # @ToDo: Download from Hg or Git now that Bzr no longer being maintained 72 # Install Bzr Trunk # @ToDo: Download from Hg or Git now that Bzr no longer being maintained 74 73 #bzr branch lp:~mdipierro/web2py/devel web2py 75 74 # Install the stable version … … 82 81 fi 83 82 84 cat << EOF > ~/web2py/routes.py83 cat << EOF > /home/web2py/routes.py 85 84 #!/usr/bin/python 86 85 default_application = 'eden' … … 96 95 97 96 # Install Eden 98 cd ~/web2py/applications97 cd /home/web2py/applications 99 98 bzr branch lp:sahana-eden eden 100 99 101 cp ~/web2py/applications/eden/deployment-templates/models/000_config.py ~/web2py/applications/eden/models 102 sed -i 's|EDITING_CONFIG_FILE = False|EDITING_CONFIG_FILE = True|' ~/web2py/applications/eden/models/000_config.py 100 cp /home/web2py/applications/eden/deployment-templates/models/000_config.py /home/web2py/applications/eden/models 101 sed -i 's|EDITING_CONFIG_FILE = False|EDITING_CONFIG_FILE = True|' /home/web2py/applications/eden/models/000_config.py 102 103 echo -n "What is your username? : " 104 read username 105 chown -R $username /home/web2py 103 106 104 107 echo "Installation is now complete - you can run Sahana either by using the Eclipse debugger or else by running:" 105 echo "cd ~/web2py ; python web2py.py -a eden"108 echo "cd /home/web2py ; python web2py.py -a eden" 106 109 echo "Then run Sahana by pointing your web browser at http://127.0.0.1:8000" 107 110 echo "Be patient on the 1st run as the database needs to be created"