mirror of
https://github.com/outline/outline.git
synced 2025-12-16 16:24:46 -06:00
29 lines
629 B
Makefile
29 lines
629 B
Makefile
up:
|
|
docker compose up -d redis postgres
|
|
yarn install-local-ssl
|
|
yarn install --pure-lockfile
|
|
yarn dev:watch
|
|
|
|
build:
|
|
docker compose build --pull outline
|
|
|
|
test:
|
|
docker compose up -d postgres
|
|
NODE_ENV=test yarn sequelize db:drop
|
|
NODE_ENV=test yarn sequelize db:create
|
|
NODE_ENV=test yarn sequelize db:migrate
|
|
yarn test
|
|
|
|
watch:
|
|
docker compose up -d redis postgres
|
|
NODE_ENV=test yarn sequelize db:drop
|
|
NODE_ENV=test yarn sequelize db:create
|
|
NODE_ENV=test yarn sequelize db:migrate
|
|
yarn test:watch
|
|
|
|
destroy:
|
|
docker compose stop
|
|
docker compose rm -f
|
|
|
|
.PHONY: up build destroy test watch # let's go to reserve rules names
|