Bootstrap a Ruby-on-Rails project with Typescript, React.js and Tailwind frontend.
- make
- docker
make build-env
make launch
starts therails-dev
container with a volume binding./my-project
make setup-runtime
installs ruby and node.js
make setup-project
creates a new rails project and adds a stub controller with corresponding react component.
make serve
launches the rails server inside the rails-dev
container.
Connect to http://localhost:3000
Edit the ./my-project
source in your favorite IDE.
Run make debug
for an interactive shell inside the rails-dev
container.