Changes between Version 21 and Version 22 of InstallationGuidelines/VirtualMachine/Maintenance


Ignore:
Timestamp:
09/28/14 12:45:52 (7 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/VirtualMachine/Maintenance

    v21 v22  
    5757cd
    5858git clone git://github.com/web2py/web2py.git
     59cat << EOF > "/home/dev/web2py/routes.py"
     60#!/usr/bin/python
     61default_application = 'eden'
     62default_controller = 'default'
     63default_function = 'index'
     64routes_onerror = [
     65        ('eden/400', '!'),
     66        ('eden/401', '!'),
     67        ('eden/509', '!'),
     68        ('eden/*', '/eden/errors/index'),
     69        ('*/*', '/eden/errors/index'),
     70    ]
     71EOF
    5972cd web2py/applications
    6073git clone git://github.com/flavour/eden.git
     
    7487
    75889. Add Management Scripts
    76 
     89{{{
     90cat << EOF > "/usr/local/bin/clean"
     91#!/bin/sh
     92cd ~/web2py/applications/eden
     93rm -rf databases/*
     94rm -f errors/*
     95rm -rf sessions/*
     96rm -rf uploads/*
     97cd ~/web2py
     98python web2py.py -S eden -M -R applications/eden/static/scripts/tools/noop.py
     99EOF
     100chmod +x /usr/local/bin/clean
     101}}}
    77102== !TurnKey Linux ==
    78103