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
145
Issues
145
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
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
41c89a19
Commit
41c89a19
authored
Jun 19, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] adding database instructions.
parent
62bb742b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
README.md
README.md
+29
-0
No files found.
README.md
View file @
41c89a19
...
...
@@ -40,6 +40,35 @@ 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
...
...
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