114 | | {{{ |
115 | | apt-get upgrade -y |
116 | | cp /home/web2py/applications/eden/deployment-templates/models/000_config.py /home/web2py/applications/eden/models |
117 | | deployment_settings.base.public_url |
118 | | }}} |
119 | | * {{{/home/INSTALL}}} |
120 | | {{{ |
121 | | mysqladmin -u root create sahana -p |
122 | | vim /home/web2py/applications/eden/models/000_config.py |
123 | | |
124 | | cd /home/web2py |
125 | | sudo -H -u web2py python web2py.py -N -S eden -M -R applications/eden/static/scripts/tools/noop.py |
126 | | cd applications/eden |
127 | | sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' models/000_config.py |
128 | | sed -i 's/deployment_settings.base.prepopulate = True/deployment_settings.base.prepopulate = False/g' models/000_config.py |
129 | | }}} |
130 | | * Update shell aliases |
131 | | {{{ |
132 | | alias pull="cd ~web2py/applications/eden;sed -i 's/deployment_settings.base.migrate = False/deployment_settings.base.migrate = True/g' models/000_config.py;bzr pull;rm -rf compiled;cd ~web2py;sudo -H -u web2py python web2py.py -S eden -M -R applications/eden/static/scripts/tools/noop.py;/etc/init.d/apache2 force-reload" |
133 | | alias migrateoff="sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' ~web2py/applications/eden/models/000_config.py" |
134 | | }}} |
135 | | * convert to scripts in {{{/usr/local/bin}}} (as per ISO/VM) |
136 | | * Change permissions on languages files (we don't want these being updated live by the server) |
137 | | * Add maintenance site & HTML |
138 | | * Rename site as xxxx.sahanafoundation.org |
139 | | * To work with fabfile |
140 | | * Provide a script to manage the MySQL root pw change |
141 | | * change the password |
142 | | * edit Eden's {{{000_config.py}}} |
143 | | * edit {{{/root/.my.cnf}}} |
144 | | * Convert to PostgreSQL? (for PostGIS) |
| 115 | * scripts in {{{/usr/local/bin}}} |
| 116 | |
| 117 | * Convert to PostgreSQL/PostGIS |