Commit db8c6258 authored by Fabien Manière's avatar Fabien Manière

adding start script and complete readme

parent d089fbd4
Pipeline #3690 failed with stage
in 72 minutes and 15 seconds
......@@ -135,18 +135,17 @@ git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/purescript-gargantext.git
## Launch & develop GarganText <a name="launch"></a>
##### 1. From devops/docker, run the Docker for postgresql
From the Backend root folder (haskell-gargantext):
``` shell
cd devops/docker
docker compose up
./start
```
##### 2. From the Backend root folder (haskell-gargantext)
> The start script runs following commands:
> `docker compose up` to run the Docker for postgresql from devops/docker folder
> `stack --nix exec gargantext-server -- --ini gargantext.ini --run Prod` to run other services
``` shell
stack --nix exec gargantext-server -- --ini gargantext.ini --run Prod
```
## Use Cases <a name="use-cases"></a>
......
#!/bin/bash
echo "GarganText: Starting project..."
echo "GarganText: docker for postgresql database..."
cd devops/docker
docker compose up -d
echo "GarganText: docker for postgresql database [OK]"
cd ../../
echo "GarganText: gargantext-server with stack and nix..."
stack --nix exec gargantext-server -- --ini gargantext.ini --run Prod
echo "GarganText: gargantext-server with stack and nix [OK]"
echo "GarganText: project stopped."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment