Skip to content

kei178/rails-vue-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

A dockerlized demo app with Rails and Vue.js.

Requirements

Development

Puma + Webpack Dev Server + MySQL

Run

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

Shutdown

docker-compose down

Test

With the running app service:

docker-compose exec app ./bin/rspec

Production Mock (Precompile + Nginx)

Puma + Nginx + MySQL

Run

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

Shutdown

docker-compose down

Deployment to Heroku

CLI

Deployment from your local PC with heroku.yml.

git push heroku master

CircleCI (CI/CD)

It will be deployed via CircleCI when the master branch is updated in GitHub.

About

A dockerized demo app with Rails and Vue.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published