Commit 926b70ca authored by Mikaël Salson's avatar Mikaël Salson

Server/tests: Don't put None in defs.py for standalone tests and update doc

Fix 6f60e38f. Actually the standalone installation can also have a working Fuse server.
Therefore the tests *should* be launched with the fuse server. The documentation makes that point clear now.
parent 7a653e92
......@@ -14,26 +14,22 @@ These installation instruction are for Ubuntu server 14.04
apt-get install make
apt-get install unzip
** Vidjil code
git clone .... copy git repository
** Vidjil server installation and initialization
Enter in the =server/= directory.
** Vidjil (algo) installation
/vidjil make vidjil compil main Vidjil program
/vidjil make align.cgi compil cgi
/vidjil/data make download/unzip stanford default file
/vidjil/germline make download germlines from IMGT
If you just want to do some tests without installing a real web server,
then launch =make install_web2py_standalone=. In the other case, launch
=make install_web2py=.
The process for installing Vidjil server together with a real web server
will be detailed in the future.
* Testing the server
If you develop on the server, or just want to check if everything is ok, you
should launch the server tests.
** Vidjil (server) installation and initialization
/vidjil/server make download/unzip/install web2py server
/vidjil/server/web2py python web2py.py -K vidjil start web2py worker
durant l'installation du serveur il faut configurer apache2 et le certificat ssl (la config par defaut fonctionne),
a la fin de l'installation le mot de passe pour l'administration du serveur web2py est demandé.
web2py est accessible a httpS://xxx.xxx.xxx.xxx/ (a visité pour valider le certificat avant d'utiliser le browser)
le browser est accessible a http://xxx.xxx.xxx.xxx/browser pré configuré avec la bdd et le cgi
First, you should have a working fuse server by launching =make
launch_fuse_server= (just launch it once, then it is running in the
background and can be killed with =make kill_fuse_server=).
Then you can launch the tests with =make unit=.
......@@ -20,7 +20,6 @@ unit: clean_unit_tests
install_web2py_standalone: install_web2py
mkdir -p web2py/applications/vidjil/databases web2py/upload web2py/result
sed -i 's@/var/vidjil@logs@' web2py/applications/vidjil/modules/defs.py
sed -i 's@12789@None@' web2py/applications/vidjil/modules/defs.py
sed -i '/mysql/d; /^DIR_/s/\/mnt\///;' web2py/applications/vidjil/modules/defs.py
launch_web2py_localhost:
......
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