Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
f896fb6f
Commit
f896fb6f
authored
Jun 03, 2015
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] README completed.
parent
76bf71d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
53 deletions
+14
-53
README.rst
init/README.rst
+14
-53
No files found.
init/README.rst
View file @
f896fb6f
...
...
@@ -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://d
ocs.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://d
l.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
-------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment