Commit f896fb6f authored by Administrator's avatar Administrator

[DOC] README completed.

parent 76bf71d2
......@@ -30,8 +30,8 @@ Install the requirements
5) Type: deactivate
In PostreSQL
-------------
In PostreSQL version 9.4 needed
-------------------------------
1) Ensure postgres is started: sudo /etc/init.d/postgresql start
......@@ -48,9 +48,8 @@ In PostreSQL
7) psql gargandb
6) CREATE EXTENSION hstore;
8) Ctrl + D
7) Ctrl + D
Populate the database
......@@ -58,6 +57,8 @@ Populate the database
python manage.py syncdb
run as postgres or gargantua user:
psql -d gargandb -f /srv/gargantext/init/sql/changeDateformat.sql
Last steps of configuration
---------------------------
......@@ -65,65 +66,25 @@ Last steps of configuration
1) If your project is not in /srv/gargantext:
ln -s [the project folder] /srv/gargantext
2) build gargantext_lib:
cd /srv/
wget http://docs.delanoe.org/gargantext_lib.tar.bz2
sudo tar xvjf gargantext_lib.tar.bz2
sudo chown user:user /srv/gargantext_lib
2) Install de Libraries
cd /srv
wget http://dl.gargantext.org/gargantext_lib.tar.bz2
tar xvjf gargantext_lib.tar.bz2
rm gargantext_lib.tar.bz2
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!
3) init nodetypes and main variables
/srv/gargantext/manage.py shell < /srv/gargantext/init/init.py
5) patch CTE:
4) patch CTE:
patch /srv/gargantext_env/lib/python3.4/site-packages/cte_tree/models.py /srv/gargantext/init/patches/cte_tree.models.diff
6) init nodetypes and main variables
/srv/gargantext/manage.py shell < /srv/gargantext/init/init.py
7) DO NOT use the default aldjemy package:
5) DO NOT use the default aldjemy package:
cd /tmp
git clone https://github.com/mathieurodic/aldjemy
cd aldjemy
python3 setup.py install
Extras
=======
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:
create mkdir /srv/gargantext_lib/js
sudo chown -R user:user /srv/gargantext_lib/
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!
5) patch CTE
patch /srv/gargantext_env/lib/python3.4/site-packages/cte_tree/models.py /srv/gargantext/init/cte_tree.models.diff
6) init nodetypes and main variables
/srv/gargantext/manage.py shell < /srv/gargantext/init/init.py
Start Turbo parser server
-------------------------
......
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