This repo aims to provide a demonstration of a fast way to spin up Rails application development environments. It is meant to provide the fastest, easiest way to get a new application ready to go on Rails 6.0 with the least amount of time spent configuring a local development environment - for that, Docker containers used.
- Install docker
- Install docker-compose
- Clone this repository
git clone [email protected]:davidleechen/rails-starter.git
- Build the main container that houses the web application
docker-compose build
- Setup application dependencies
docker-compose run web ./bin/setup
- Run the Docker compose command to spin everything up
docker-compose up
- Browse to http://localhost:3000
All done!