fix scripts fetching handlers from /handlers

This commit is contained in:
niphlod
2013-08-31 14:23:35 +02:00
parent 1f9071d5df
commit d61bbc6a5f
8 changed files with 60 additions and 59 deletions
+1 -2
View File
@@ -169,9 +169,8 @@ mkdir /home/www-data
cd /home/www-data
wget http://web2py.com/examples/static/web2py_src.zip
unzip web2py_src.zip
mv web2py/handlers/wsgihandler.py web2py/wsgihandler.py
rm web2py_src.zip
# Download latest version of sessions2trash.py
wget http://web2py.googlecode.com/hg/scripts/sessions2trash.py -O /home/www-data/web2py/scripts/sessions2trash.py
chown -R www-data:www-data web2py
cd /home/www-data/web2py
sudo -u www-data python -c "from gluon.main import save_password; save_password('$PW',443)"