akvo / isco

1 stars 1 forks source link

ISCO

Build Status Repo Size Languages Issues Last Commit Coverage Status

Prerequisite

Development

Environment Setup

Expected that PORT 5432 and 3000 are not being used by other services.

Start

For initial run, you need to create a new docker volume.

docker volume create isco-docker-sync
./dc.sh up -d

The app should be running at: localhost:3000. Any endpoints with prefix

Network Config:

Log

./dc.sh log --follow <container_name>

Available containers:

Stop

./dc.sh stop

Teardown

docker-compose down -v
docker volume rm isco-docker-sync

Production

export CI_COMMIT='local'
./ci/build.sh

Above command will generate two docker images with prefix eu.gcr.io/akvo-lumen/isco for backend and frontend

docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d

Network config: nginx