5 Gargantext is a collaborative web platform for the exploration of sets
6 of unstructured documents. It combines tools from natural language
7 processing, text-mining, complex networks analysis and interactive data
8 visualization to pave the way toward new kinds of interactions with your
11 This software is a free software, developed by the CNRS Complex Systems
12 Institute of Paris Île-de-France (ISC-PIF) and its partners.
16 Disclaimer: this project is still in development, this is work in
17 progress. Please report and improve this documentation if you encounter issues.
24 curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/dev/devops/docker/docker-install | sh
30 curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/dev/devops/debian/install | sh
36 curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/dev/devops/ubuntu/install | sh
41 1. CoreNLP is needed (EN and FR); This dependency will not be needed soon.
44 ./devops/install-corenlp
47 2. Louvain C++ needed to draw the socio-semantic graphs
49 NOTE: This is already added in the Docker build.
52 git clone https://gitlab.iscpif.fr/gargantext/clustering-louvain-cplusplus.git
53 cd clustering-louvain-cplusplus
68 Initialization schema should be loaded automatically (from `devops/postgres/schema.sql`).
72 ##### Fix the passwords
74 Change the passwords in gargantext.ini_toModify then move it:
77 mv gargantext.ini_toModify gargantext.ini
79 (`.gitignore` avoids adding this file to the repository by mistake)
84 Users have to be created first (`user1` is created as instance):
88 ~/.local/bin/gargantext-init "gargantext.ini"
91 For Docker env, first create the appropriate image:
95 docker build -t fpco/stack-build:lts-14.27-garg .
101 stack --docker run gargantext-init -- gargantext.ini
106 You can import some data with:
108 docker run --rm -it -p 9000:9000 cgenie/corenlp-garg
109 stack exec gargantext-import -- "corpusCsvHal" "user1" "IMT3" gargantext.ini 10000 ./1000.csv
114 It is also possible to build everything with [Nix](https://nixos.org/) instead of Docker:
117 stack --nix exec gargantext-import -- "corpusCsvHal" "user1" "IMT3" gargantext.ini 10000 ./1000.csv
118 stack --nix exec gargantext-server -- --ini gargantext.ini --run Prod
123 ### Multi-User with Graphical User Interface (Server Mode)
126 ~/.local/bin/stack --docker exec gargantext-server -- --ini "gargantext.ini" --run Prod
129 Then you can log in with `user1` / `1resu`.
132 ### Command Line Mode tools
134 #### Simple cooccurrences computation and indexation from a list of Ngrams
137 stack --docker exec gargantext-cli -- CorpusFromGarg.csv ListFromGarg.csv Ouput.json
140 ### Analyzing the ngrams table repo
142 We store the repository in directory `repos` in the [CBOR](https://cbor.io/)
143 file format. To decode it to JSON and analyze, say, using
144 [jq](https://shapeshed.com/jq-json/), use the following command:
147 cat repos/repo.cbor.v5 | stack --nix exec gargantext-cbor2json | jq .