-
Notifications
You must be signed in to change notification settings - Fork 101
Make commands
Luka Murn edited this page Jul 1, 2019
·
2 revisions
Call make
commands to build Docker images and build Rails environment, including database.
Following commands are available:
Command | Description |
---|---|
make docker |
Downloads the Docker image and build Gems. This should be called whenever Gemfile is changed. |
make db-cli |
Runs a /bin/bash inside the db container. |
make run |
Runs the db container & starts the Rails server in web container. |
make start |
Runs the db container & starts the Rails server in web container in background. |
make stop |
Stops the db & web containers. |
make worker |
Runs the rails jobs:work (worker process) in web container. |
make cli |
Runs a /bin/bash inside the web container. |
make tests |
Execute all Rails tests. |
make console |
Enters the Rails console in web container. |
make export |
Zips the head of this Git repository into a .tar.gz file. |