Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
108
Issues
108
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
973dfbb4
Commit
973dfbb4
authored
Aug 21, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[README] some updates to the docs
parent
92e50de6
Pipeline
#1010
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
README.md
README.md
+18
-8
gargantext.ini_toModify
gargantext.ini_toModify
+1
-1
No files found.
README.md
View file @
973dfbb4
...
@@ -13,9 +13,8 @@ Institute of Paris Île-de-France (ISC-PIF) and its partners.
...
@@ -13,9 +13,8 @@ Institute of Paris Île-de-France (ISC-PIF) and its partners.
## Installation
## Installation
Disclaimer: this project is still on development, this is work in
Disclaimer: this project is still in development, this is work in
progress. Please report and improve this documentation if you encounter
progress. Please report and improve this documentation if you encounter issues.
issues.
### Build Core Code
### Build Core Code
...
@@ -33,8 +32,7 @@ curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/master/devo
...
@@ -33,8 +32,7 @@ curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/master/devo
### Add dependencies
### Add dependencies
1.
CoreNLP is needed (EN and FR); This dependency will not be needed
1.
CoreNLP is needed (EN and FR); This dependency will not be needed soon.
soon.
```
sh
```
sh
./devops/install-corenlp
./devops/install-corenlp
...
@@ -69,9 +67,10 @@ Initialization schema should be loaded automatically (from `devops/postgres/sche
...
@@ -69,9 +67,10 @@ Initialization schema should be loaded automatically (from `devops/postgres/sche
Change the passwords in gargantext.ini_toModify then move it:
Change the passwords in gargantext.ini_toModify then move it:
```
sh
mv
gargantext.ini_toModify gargantext.ini
mv
gargantext.ini_toModify gargantext.ini
```
(
.gitignore
avoids adding this file to the repository by mistake)
(
`.gitignore`
avoids adding this file to the repository by mistake)
##### Run Gargantext
##### Run Gargantext
...
@@ -104,6 +103,15 @@ docker run --rm -it -p 9000:9000 cgenie/corenlp-garg
...
@@ -104,6 +103,15 @@ docker run --rm -it -p 9000:9000 cgenie/corenlp-garg
stack
exec
gargantext-import
--
"corpusCsvHal"
"user1"
"IMT3"
gargantext.ini 10000 ./1000.csv
stack
exec
gargantext-import
--
"corpusCsvHal"
"user1"
"IMT3"
gargantext.ini 10000 ./1000.csv
```
```
### Nix
It is also possible to build everything with
[
Nix
](
https://nixos.org/
)
instead of Docker:
```
sh
stack
--nix
build
stack
--nix
exec
gargantext-import
--
"corpusCsvHal"
"user1"
"IMT3"
gargantext.ini 10000 ./1000.csv
stack
--nix
exec
gargantext-server
--
--ini
gargantext.ini
--run
Prod
```
## Use Cases
## Use Cases
### Multi-User with Graphical User Interface (Server Mode)
### Multi-User with Graphical User Interface (Server Mode)
...
@@ -112,12 +120,14 @@ stack exec gargantext-import -- "corpusCsvHal" "user1" "IMT3" gargantext.ini 100
...
@@ -112,12 +120,14 @@ stack exec gargantext-import -- "corpusCsvHal" "user1" "IMT3" gargantext.ini 100
~/.local/bin/stack
--docker
exec
gargantext-server
--
--ini
"gargantext.ini"
--run
Prod
~/.local/bin/stack
--docker
exec
gargantext-server
--
--ini
"gargantext.ini"
--run
Prod
```
```
Then you can log in with
`user1
:
1resu`
.
Then you can log in with
`user1
`
/
`
1resu`
.
### Command Line Mode tools
### Command Line Mode tools
#### Simple cooccurrences computation and indexation from a list of Ngrams
#### Simple cooccurrences computation and indexation from a list of Ngrams
```
sh
stack
--docker
exec
gargantext-cli
--
CorpusFromGarg.csv ListFromGarg.csv Ouput.json
stack
--docker
exec
gargantext-cli
--
CorpusFromGarg.csv ListFromGarg.csv Ouput.json
```
gargantext.ini_toModify
View file @
973dfbb4
...
@@ -10,7 +10,7 @@ SECRET_KEY = PASSWORD_TO_CHANGE
...
@@ -10,7 +10,7 @@ SECRET_KEY = PASSWORD_TO_CHANGE
DATA_FILEPATH = FILEPATH_TO_CHANGE
DATA_FILEPATH = FILEPATH_TO_CHANGE
# [external]
# [external]
# FRAMES
# FRAMES
(i.e. iframe sources used in various places on the frontend)
FRAME_WRITE_URL = URL_TO_CHANGE
FRAME_WRITE_URL = URL_TO_CHANGE
FRAME_CALC_URL = URL_TO_CHANGE
FRAME_CALC_URL = URL_TO_CHANGE
...
...
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