A dockerlized demo app with Rails and Vue.js.
Puma + Webpack Dev Server + MySQL
docker-compose up
You can access the server at http://localhost:3000
.
If you change something, execute the following command, instead:
docker-compose up --build
docker-compose down
With the running app service:
docker-compose exec app ./bin/rspec
Puma + Nginx + MySQL
docker-compose -f docker-compose-prod.yml up
You can access the server at http://localhost
.
If you change something, execute the following command, instead:
docker-compose -f docker-compose-prod.yml up --build
docker-compose down
Deployment from your local PC with heroku.yml.
git push heroku master
It will be deployed via CircleCI when the master branch is updated in GitHub.