Skip to main content

Makefile

This application contains a Makefile to ease setup, development, and deployment.

Init and Setup Environment​

ENV=<your_env> && make init
info

The ENV variable can be set to one of the following values:

  • dev - For Development
  • prod - For Production
  • docker - For production in docker
warning

After setting up the environment, you should update the following files.

  • .env
  • config/app.yaml

Remember to update the ENV variable in .env file to the correct value.

Build Application​

This will build the application for the selected environment.

make build

Run DB​

This will initialize and start the databases.

make db

Run Application​

This will run the server for the selected environment.

make run