Simple dev setup for overmind
Used 11 times
A
Andrew Mason
Usage
Make sure you install overmind.
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/Xo5sJZ"
Template Source
Review the code before running this template on your machine.
create_file 'Procfile.dev' do <<~EOF
web: rails server
webpacker: ./bin/webpack-dev-server
dependencies: docker-compose up
EOF
end
create_file '.overmind.env' do <<~EOF
OVERMIND_PROCFILE=Procfile.dev
EOF
end