Commit ff8c56a5 authored by Administrator's avatar Administrator

[INIT] improving init (again again).

parent 6c07c076
...@@ -20,25 +20,16 @@ Install the requirements ...@@ -20,25 +20,16 @@ Install the requirements
ensuite tu peux créer ton virtualenv dans le dossier de travail ou à un ensuite tu peux créer ton virtualenv dans le dossier de travail ou à un
endroit choisi : endroit choisi :
virtualenv -p python3 /srv/gargantext_env sudo virtualenv -p python3 /srv/gargantext_env
3) Type: source [your virtual environment directory]/bin/activate 3) Type: source [your virtual environment directory]/bin/activate
4) Do your work! 4) sudo chown -R user:user /srv/gargantext_env
pip install -r /srv/gargantext/init/requirements.txt
5) Type: deactivate 5) Type: deactivate
Configure stuff
---------------
1) ln -s [the project folder] /srv/gargantext
2) ln -s [your folder for tree tagger] [the project folder]/parsing/Tagger/treetagger
Warning: for ln, path has to be absolute!
In PostreSQL In PostreSQL
------------- -------------
...@@ -68,6 +59,28 @@ Populate the database ...@@ -68,6 +59,28 @@ Populate the database
python manage.py syncdb python manage.py syncdb
Last steps of configuration:
----------------------------
1) If your project is not in /srv/gargantext:
ln -s [the project folder] /srv/gargantext
2) build gargantext_lib
wget http://docs.delanoe.org/gargantext_lib.tar.bz2
cd /srv/
sudo tar xvjf gargantext_lib.tar.bz2
sudo chown user:user /srv/gargantext_lib
3) Explorer:
cd /srv/gargantext_lib/js
git clone git@github.com:PkSM3/garg.git
4) Adapt all symlinks:
ln -s [your folder for tree tagger] [the project folder]/parsing/Tagger/treetagger
Warning: for ln, path has to be absolute!
Extras: Extras:
====== ======
......
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