Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
8109bcc6
Commit
8109bcc6
authored
Apr 28, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor install
parent
b5eb0323
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
26 deletions
+44
-26
README.md
install/README.md
+44
-26
No files found.
install/README.md
View file @
8109bcc6
...
...
@@ -3,18 +3,32 @@ Gargantext
Install Instructions for Gargantext (CNRS).
## Help needed ?
1.
[
SETUP
](
##SETUP
)
2.
[
INSTALL
](
##INSTALL
)
3.
[
RUN
](
##RUN
)
## Support needed ?
See http://gargantext.org/about and tools for the community
## Create user Gargantua
## Setup
Prepare your environnement
Build your OS dependencies inside a docker
Main user of Gargantext is Gargantua (role of Pantagruel soon)!
``` bash
sudo
adduser
--disabled-password
--gecos
""
gargantua
cd /srv/gargantext/install/docker/dev
./build
```
## Create the directories you need
## INSTALL
### Enter docker container
```
bash
/srv/gargantext/install/docker/enterGargantextImage
```
### Create the directories you need
```
bash
for
dir
in
"/srv/gargantext"
...
...
@@ -27,29 +41,34 @@ for dir in "/srv/gargantext"
done
```
You should see:
```
bash
$tree
/srv
/srv
├── gargantext
├── gargantext_lib
├── gargantext_media
│ └── srv
│ └── env_3-5
└── gargantext_static
```
## Get the source code of Gargantext
```
bash
```
bash
cp ~/.ssh/id_rsa.pub id_rsa.pub
`
git clone ssh://gitolite@delanoe.org:1979/gargantext /srv/gargantext
\
&& cd /srv/gargantext
\
&& git fetch origin refactoring
\
&& git checkout refactoring
\
```
### TODO (soon) : git clone https://gogs.iscpif.fr/gargantext.git
## Build your OS dependencies
2 ways, for each you need to install Debian GNU/Linux dependencies.
1)
[
EASY
]
Docker way (directory install/docker)
2)
[
EXPERTS
]
Debian way (directory install/debian)
TODO (soon) : git clone https://gogs.iscpif.fr/gargantext.git
## Build your docker image
```
bash
cd
/srv/gargantext/install/docker/dev
./build
```
## Install Python environment
Inside the docker image, execute as root:
...
...
@@ -64,20 +83,17 @@ Inside the docker image, execute as root:
```
## Get main librairies
Can be long, so be patient :)
```
bash
wget http://dl.gargantext.org/gargantext_lib.tar.bz2
\
&&
tar
xvjf gargantext_lib.tar.bz2
-o
/srv/gargantext_lib
\
&&
sudo tar xvjf gargantext_lib.tar.bz2 --directory
/srv/gargantext_lib
\
&& sudo chown -R gargantua:gargantua /srv/gargantext_lib
\
&& echo "Libs installed"
```
## Configure && Launch Gargantext
### Enter docker container
```
bash
/srv/gargantext/install/docker/enterGargantextImage
```
### Inside docker container configure the database
```
bash
service postgresql start
...
...
@@ -93,7 +109,9 @@ python /srv/gargantext/init_accounts.py /srv/gargantext/install/init/account.csv
FIXME: dbmigrate need to launched several times since tables are
ordered with alphabetical order (and not dependencies order)
### Inside docker container launch Gargantext
## RUN
Inside docker container launch Gargantext
```
bash
service postgresql start
su 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