Development on Docker

Containerized Botmetrics for use in Development and Testing

Botmetrics uses several containerized services. Docker compose allows us to bring up all these containers in a synchronized fashion.

Docker Compose

  1. Install Docker
  2. Edit docker-compose.yml to update all the instances of JSON_WEB_TOKEN_SECRET, REDIS_URL and DATABASE_URL
  3. Get the database ready with docker-compose run web bundle exec rake db:reset
  4. Bring up the services with docker-compose up in the botmetrics project directory.
  5. Goto localhost:3000 Enjoy!