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
198
Issues
198
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
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
c077b02c
Commit
c077b02c
authored
Jul 18, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] fix readme for easy install.
parent
1656e819
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
70 deletions
+5
-70
README.md
README.md
+5
-70
No files found.
README.md
View file @
c077b02c
...
@@ -13,76 +13,11 @@ Institute of Paris Île-de-France (ISC-PIF) and its partners.
...
@@ -13,76 +13,11 @@ Institute of Paris Île-de-France (ISC-PIF) and its partners.
## Installation
## Installation
### Front-End
curl -sSL https://gitlab.iscpif.fr/gargantext/haskell-gargantext/raw/master/install-via-docker | sh
Front-End is written in
[
Purescript
](
http://www.purescript.org/
)
.
## Use Cases
Then Gargantext Front-End is developed in another git repository.
Before building the whole repo you need:
1.
Get the source code:
### Multi-User with Graphical User Interface (Server Mode)
git clone https://gitlab.iscpif.fr/gargantext/purescript-gargantext.git
2.
cd purescript-gargantext
3.
read the README.md to install it
### Command Line Mode
### Back-End
(for now: simple cooccurrences computation)
Back-End of Gargantext rely on several backends:
1.
Haskell backend with orchestrator
2.
Python backend
3.
Others backends
Docker will be created to ease the backends installation.
## Haskell Backend
On Linux Debian (and Ubuntu?), install Dependencies.
sudo apt-get install libbz2-dev lipq-dev
(In the near future, we will use Nix.)
### Database: install, configure and populate
1.
Postgresql installation
``shell
sudo apt update && sudo apt install postgresql-9.6
sudo su postgres
psql
``
2.
Configuration
first create your local database:
``sql
create role gargantua with password "see gargantext.ini";
create database gargandb with owner gargantua;
``
3.
Populate
second get a dump/schema of the database:
md5sum gargandb.gz == 2c97ea9cfb67cd9767b779632a71e19f gargandb.gz
third insert the database in gargandb
``shell
gunzip gargandb.zip
psql gargandb < gargandb
``
### Install Stack
-
https://docs.haskellstack.org/en/stable/README/
-
curl -sSL https://get.haskellstack.org/ | sh
### Get the orchestrator library
git clone https://github.com/np/servant-job.git
### Get the clustering louvain library
git clone https://gitlab.iscpif.fr/gargantext/clustering-louvain.git
## Building and installing
stack install
## Run Gargantext
~/.local/bin/gargantext --run Mock --port 8008
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