Changes between Version 9 and Version 10 of InstallationGuidelines/Linux/Developer/Script


Ignore:
Timestamp:
12/06/11 09:43:30 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Linux/Developer/Script

    v9 v10  
    99#
    1010# Install a Sahana Eden Developer environment in Ubuntu
    11 # - tested on 11.10
     11# - tested on 10.04 and 11.10
    1212#
    1313
     
    6868
    6969# Install Web2Py
    70 cd
     70cd /home
    7171if [[ "$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
    7473    #bzr branch lp:~mdipierro/web2py/devel web2py
    7574    # Install the stable version
     
    8281fi
    8382
    84 cat << EOF > ~/web2py/routes.py
     83cat << EOF > /home/web2py/routes.py
    8584#!/usr/bin/python
    8685default_application = 'eden'
     
    9695
    9796# Install Eden
    98 cd ~/web2py/applications
     97cd /home/web2py/applications
    9998bzr branch lp:sahana-eden eden
    10099
    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
     100cp /home/web2py/applications/eden/deployment-templates/models/000_config.py /home/web2py/applications/eden/models
     101sed -i 's|EDITING_CONFIG_FILE = False|EDITING_CONFIG_FILE = True|' /home/web2py/applications/eden/models/000_config.py
     102
     103echo -n "What is your username? : "
     104read username
     105chown -R $username /home/web2py
    103106
    104107echo "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"
     108echo "cd /home/web2py ; python web2py.py -a eden"
    106109echo "Then run Sahana by pointing your web browser at http://127.0.0.1:8000"
    107110echo "Be patient on the 1st run as the database needs to be created"