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
- Install Docker
- Edit
docker-compose.yml
to update all the instances ofJSON_WEB_TOKEN_SECRET
, REDIS_URL and DATABASE_URL - Get the database ready with
docker-compose run web bundle exec rake db:reset
- Bring up the services with
docker-compose up
in the botmetrics project directory. - Goto localhost:3000 Enjoy!
Updated less than a minute ago