Skip to content
forked from akvo/rtmis

Real Time Monitoring Information Systems

License

Notifications You must be signed in to change notification settings

karimkkanji/rtmis

 
 

Repository files navigation

RTMIS

Build Status Repo Size Languages Issues Last Commit Coverage Status Coverage Status

Real Time Monitoring Information Systems

Prerequisite

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

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.

./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

Production

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

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

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

Network config: nginx

About

Real Time Monitoring Information Systems

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 50.6%
  • JavaScript 40.1%
  • SCSS 5.2%
  • HTML 2.4%
  • Shell 1.6%
  • CSS 0.1%