Commit 4943133d authored by Marc's avatar Marc
Browse files

web2py install : build database folders

parent c1da8c17
......@@ -221,6 +221,11 @@ rm
chown -R www-data:www-data web2py
cd $CWD/web2py
sudo -u www-data python -c "from gluon.main import save_password; save_password('$PW',443)"
mkdir /mnt/upload
mkdir /mnt/upload/uploads
mkdir /mnt/result
chown -R www-data:www-data /mnt/upload
chown -R www-data:www-data /mnt/result
start uwsgi-emperor
/etc/init.d/nginx restart
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment