Changes between Version 21 and Version 22 of InstallationGuidelines/VirtualMachine/Maintenance
- Timestamp:
- 09/28/14 12:45:52 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/VirtualMachine/Maintenance
v21 v22 57 57 cd 58 58 git clone git://github.com/web2py/web2py.git 59 cat << EOF > "/home/dev/web2py/routes.py" 60 #!/usr/bin/python 61 default_application = 'eden' 62 default_controller = 'default' 63 default_function = 'index' 64 routes_onerror = [ 65 ('eden/400', '!'), 66 ('eden/401', '!'), 67 ('eden/509', '!'), 68 ('eden/*', '/eden/errors/index'), 69 ('*/*', '/eden/errors/index'), 70 ] 71 EOF 59 72 cd web2py/applications 60 73 git clone git://github.com/flavour/eden.git … … 74 87 75 88 9. Add Management Scripts 76 89 {{{ 90 cat << EOF > "/usr/local/bin/clean" 91 #!/bin/sh 92 cd ~/web2py/applications/eden 93 rm -rf databases/* 94 rm -f errors/* 95 rm -rf sessions/* 96 rm -rf uploads/* 97 cd ~/web2py 98 python web2py.py -S eden -M -R applications/eden/static/scripts/tools/noop.py 99 EOF 100 chmod +x /usr/local/bin/clean 101 }}} 77 102 == !TurnKey Linux == 78 103