Skip to content

Available commands

Vinicius Zucatti edited this page Oct 16, 2021 · 2 revisions

Commands

Available commands

cmd description
rails s Run the app on localhost:3000
rails c Open app console
rspec Run all tests
bin/webpack-dev-server Runs webpack as development mode
bin/webpack Build webpack to production
yarn prettier:format Format all rb and erb files
yarn prettier:check Check prettier format
yarn docker:build Build docker containers
yarn db:up Up the database container
yarn db:down Down the database container
yarn app:up Up the application container
yarn app:down Down the application container
yarn app:attach Run the app on depuration mode
yarn app:console Run the app on console mode
yarn app:migrate Run the migrations

If you want to know more about rails commands we recommend this guide

Clone this wiki locally