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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Christian Merten
haskell-gargantext
Commits
86b5063d
Commit
86b5063d
authored
Sep 02, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] README.
parent
8d10a2f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
22 deletions
+28
-22
README.md
README.md
+28
-22
No files found.
README.md
View file @
86b5063d
...
...
@@ -13,12 +13,36 @@ Institute of Paris Île-de-France (ISC-PIF) and its partners.
## Installation
### Docker
curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/master/devops/docker-install | sh
Disclaimer: this project is still on development, this is work in
progress. Please report and improve this documentation if you encounter
issues.
### Debian
curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/master/devops/debian-install | sh
### Build Core Code
#### Docker
curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/master/devops/docker-install | sh
#### Debian
curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/master/devops/debian-install | sh
### Add dependencies
1.
CoreNLP is needed (EN and FR); This dependency will not be needed
soon.
-
wget https://dl.gargantext.org/coreNLP.tar.bz2
-
tar xvjf coreNLP.tar.bz2
-
./startServer.sh
2.
Louvain C++ needed to draw the socio-semantic graphs
-
git clone https://gitlab.iscpif.fr/gargantext/clustering-louvain-cplusplus.git
-
cd clustering-louvain-cplusplus
-
./install
### Initialization
Users has to be created first
1.
stack ghci
2.
runCmd insertUsersDemo
Then you can log in with user1:1resu
## Use Cases
...
...
@@ -33,21 +57,3 @@ curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/master/devo
stack --docker exec gargantext-cli -- CorpusFromGarg.csv ListFromGarg.csv Ouput.json
```
sql
INSERT
INTO
auth_user
(
password
,
is_superuser
,
username
,
first_name
,
last_name
,
email
,
is_staff
,
is_active
)
VALUES
(
'1resu'
,
true
,
'user1'
,
'user'
,
'1'
,
'a@localhost'
,
true
,
true
);
-- nodetype NodeUser has id 1
-- inserted user_id = 3
INSERT
INTO
nodes
(
typename
,
user_id
,
name
)
VALUES
(
1
,
3
,
'user1'
);
-- same for master user -- 'gargantua'
INSERT
INTO
auth_user
(
password
,
is_superuser
,
username
,
first_name
,
last_name
,
email
,
is_staff
,
is_active
)
VALUES
(
'autnagrag, true, '
gargantua
,
'gargantua, '
1
', '
g
@
localhost
', true, true);
-- nodetype NodeUser has id 1
-- inserted user_id = 5
INSERT INTO nodes (typename, user_id, name)
VALUES (1, 5, '
gargantua
);
```
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