Closed mkasztelnik closed 8 years ago
Thanks to docker developer does not have ruby, postgresql installed, just docker and docker-compose, next following command need to be executed:
docker-compose build
docker-compose up
docker-compose run web rake db:create db:migrate db:seed
As a result smogmapper will be started and will be accessible on port 3000.
If you want to run specs or guard invoke:
docker-compose run web rspec
docker-compose run web guard
See https://docs.docker.com/compose/rails/ for details.
Thanks to docker developer does not have ruby, postgresql installed, just docker and docker-compose, next following command need to be executed:
docker-compose build
(only for first time and after Gemfile is changed)docker-compose up
docker-compose run web rake db:create db:migrate db:seed
As a result smogmapper will be started and will be accessible on port 3000.
If you want to run specs or guard invoke:
docker-compose run web rspec
docker-compose run web guard
See https://docs.docker.com/compose/rails/ for details.