start 540 Bytes
Newer Older
1 2 3
#!/bin/bash

echo "GarganText: Starting project..."
4 5 6
echo "GarganText: First, compiling code..."
bin/install
echo "GarganText: code compiled [OK]"
7 8 9 10 11
echo "GarganText: docker for postgresql database..."
cd devops/docker
docker compose up -d
echo "GarganText: docker for postgresql database [OK]"
cd ../../
12 13 14
echo "GarganText: gargantext-server with Nix and Cabal..."
nix-shell --run "cabal run gargantext-server -- --ini gargantext.ini --run Prod"
echo "GarganText: gargantext-server with Nix and Cabal [OK]"
15 16
echo "GarganText: project stopped."