Skip to content

ishag-bac/Demo

Repository files navigation

README

Learn how to use docker / docker compose to create and run rails application.

Instructions / commands

mkdir ~/projects/noteapp
cd ~/projects/noteapp
# Create Gemfile
# Create Dockerfile
# Create docker-compose.yml
docker-compose run app rails new . --force --database=mysql --skip-bundle
docker-compose build
docker-compose up
# http://localhost:3001
docker-compose run --rm app rails g scaffold note title body:text
docker-compose run --rm app rake db:migrate
# http://localhost:3001/notes

About

Demo App that will be presented as an example for the blog topic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published