Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 797 Bytes

docker.md

File metadata and controls

34 lines (23 loc) · 797 Bytes

Docker

If you don't want to install everything in your computer you can opt to run your application using Docker

Install Docker Compose and then run:

git clone https://github.com/Wolox/rails-graphql-bootstrap.git
docker-compose up

When the server starts, run the following command in a different console to setup the database:

docker-compose run web rails db:create db:migrate db:seed

To stop the server run the following command in a different console:

docker-compose stop

To see the running process, run the following command in a different console:

docker-compose ps

To update Docker images, run the following command:

docker-compose build