Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 576 Bytes

production.md

File metadata and controls

33 lines (24 loc) · 576 Bytes

Installing in PROD environment

Using container environment

# copy env file
$ cp .env.example .env

# run makefile command to install
$ make install-prod

# run makefile command to generate migrations
$ make migrate-prod

Without container environment

# copy env file
$ cp .env.example .env

# build project
$ yarn build

# run docker-compose to generate database
$ docker-compose up -d --build

# run command to generate migrations
$ yarn migration:run

# run app
$ yarn start

For more commands with makefile check Makefile