153 | | == How to update Web2Py?== |
154 | | * Backup the old Web2Py folder |
155 | | * Install new Web2Py folder |
156 | | * Copy the 'sahana' folder from Backup to Live |
157 | | * For some updates, may want to merge updates from |
158 | | * {{{/welcome/views/layout.html}}} to {{{/sahana/views/layout_default.html}}} |
159 | | * {{{/welcome/static/styles.css}}} to {{{/sahana/static/styles/styles_default.html}}} |
160 | | * {{{/static to}}} {{{/sahana/static/styles/media}}} |
161 | | * (optional) patches to make admin/dev easier: |
162 | | * {{{/applications/admin/web2py_ajax.html}}} : {{{$(document).ready(function() { collapse('static_inner');}}} |
163 | | * {{{/welcome/views/default/index.html}}} : |
164 | | {{{ |
165 | | [ <a href='/sahana'>Sahana</a> |
166 | | | <a href='/sahana/appadmin/index'>Database</a> |
167 | | | <a href='/admin/default/design/sahana'>Design</a> |
168 | | | <a href='/admin/default/site'>Site</a> ] |
169 | | }}} |
170 | | |
171 | | NB T2 is currently updated separately: |
172 | | * Download latest T3 (which is where T2 is currently maintained) |
173 | | * copy {{{t2.py}}} to {{{/sahana/modules}}} |
174 | | * For some updates, may want to merge updates from |
175 | | * {{{web2py_ajax.html}}} to {{{/sahana/views/web2py_ajax_t2.html}}} |
176 | | * {{{/static}}} to {{{/sahana/static/scripts}}},{{{/sahana/static/styles}}},{{{/sahana/static/styles/media}}}, {{{sahana/static/img/web2py}}} |
177 | | |
178 | | |
| 153 | == How to update Web2Py? == |
| 154 | [wiki:DeveloperGuidelinesWeb2PyUpdate DeveloperGuidelinesWeb2PyUpdate] |