Commit 235ed6f9 authored by Mikaël Salson's avatar Mikaël Salson

server: Install web2py server to work in standalone.

Useful for development and tests
parent 57bc9a2c
......@@ -17,6 +17,11 @@ install_unit_tests:
unit: clean_unit_tests
cd web2py; python web2py.py -S vidjil -M -R testRunner.py
standalone_install: install_unit_tests
mkdir -p web2py/applications/vidjil/databases upload result
sed -i 's@/var/vidjil@logs@' web2py/applications/vidjil/modules/defs.py
sed -i '/mysql/d; /^DIR_/s/\/mnt\///; s/PORT_FUSE_SERVER = .*/PORT_FUSE_SERVER = None/' web2py/applications/vidjil/modules/defs.py
clean_unit_tests:
rm -f web2py/test-reports/*.xml
......
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