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.
- Install Docker
docker-compose.ymlto update all the instances of
JSON_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 upin the botmetrics project directory.
- Goto localhost:3000 Enjoy!
Updated less than a minute ago