This is a rails app.
Requirements:
- docker-compose
- yarn
- browser-sync (optional, see
Procfile.dev
) - local ruby install (see:
.ruby-version
file)- see rbenv for easy ruby version management
root@me:~# cat /etc/hosts | grep hot-elm
127.19.0.1 pg.hot-elm.test
As per the /etc/hosts entry
docker-compose up pg
./bin/dev
See Procfile.dev
to change the listening ports, etc.
One port is dedicated to a live reload environment.
The other is the standard rails port, which may be better suited when receiving and sending data via websockets (turbo frames)