Files
2020-08-17 19:18:46 +01:00

12 lines
563 B
Markdown

# docker-compose-rails-skel
This project is a skeleton for a rails app following ["Quickstart: Compose and Rails"](https://docs.docker.com/compose/rails/)
From this sketch you can run the following commands to jump-start your app:
```
docker-compose run web rails new . --force --no-deps --database=postgresql
docker-compose run web rails webpacker:install
sudo chown -R $USER:$USER . # Linux only
docker-compose build
```
Now you should continue from ["Connect the database"](https://docs.docker.com/compose/rails/#connect-the-database) section of the tutorial