Skip to content

bleumatin-fr/scrrap

Repository files navigation

SCRRAP

Prerequisites

Install

yarn install

## to clean all installed node_modules
yarn clean

Develop

yarn start

Migrations

Create a migration

yarn run migration:create
# rename and fill new file created in packages/server/migrations

Migrate database

Migrations run automatically when server starts.

You can also run them manually:

yarn run migration:up

Deploy

Production

To create a self-contained docker image manually:

docker build -t [TAG] .
docker build -t talm .

To test the built image:

cd deployment/talm_production
docker compose up

And to do it automatically, just add a tag on main.