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
160
Issues
160
List
Board
Labels
Milestones
Merge Requests
14
Merge Requests
14
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
db8c6258
Commit
db8c6258
authored
Feb 25, 2023
by
Fabien Manière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding start script and complete readme
parent
d089fbd4
Pipeline
#3690
failed with stage
in 72 minutes and 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
README.md
README.md
+6
-7
start
start
+13
-0
No files found.
README.md
View file @
db8c6258
...
...
@@ -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>
...
...
start
0 → 100755
View file @
db8c6258
#!/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."
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