Skip to content

2. Development

Deden Bangkit edited this page Jan 20, 2022 · 2 revisions

Prerequisite

  • Docker > v19
  • Docker Compose > v2.1
  • Docker Sync 0.7.1

Environment Setup

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

Start

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

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

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

Network Config:

Log

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

Available containers:

  • backend
  • frontend
  • mainnetwork
  • db
  • pgadmin

Stop

./dc.sh stop

Teardown

docker-compose down -v
docker volume rm rtmis-docker-sync
Clone this wiki locally