mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 00:52:21 +03:00
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
build:
|
|
@docker compose down
|
|
@docker volume rm dev_twenty_node_modules_front > /dev/null 2>&1 || true
|
|
@docker volume rm dev_twenty_node_modules_server > /dev/null 2>&1 || true
|
|
@docker volume rm dev_twenty_node_modules_docs > /dev/null 2>&1 || true
|
|
@docker compose build
|
|
|
|
provision-postgres:
|
|
@docker compose up postgres -d
|
|
|
|
up:
|
|
@docker compose up -d
|
|
|
|
down:
|
|
@docker compose down -v
|
|
|
|
sh:
|
|
@docker compose exec twenty-dev sh
|
|
|
|
front-start:
|
|
@docker compose exec twenty-dev sh -c "cd ./front && yarn start"
|
|
|
|
front-lint:
|
|
@docker compose exec twenty-dev sh -c "cd ./front && yarn lint"
|
|
|
|
front-test:
|
|
@docker compose exec twenty-dev sh -c "cd ./front && yarn test"
|
|
|
|
front-coverage:
|
|
@docker compose exec twenty-dev sh -c "cd ./front && yarn coverage"
|
|
|
|
front-graphql-generate:
|
|
@docker compose exec twenty-dev sh -c "cd ./front && yarn graphql:generate"
|
|
|
|
front-storybook:
|
|
@docker compose exec twenty-dev sh -c "cd ./front && yarn storybook:dev"
|
|
|
|
server-start:
|
|
@docker compose exec twenty-dev sh -c "cd /app/server && yarn start:dev"
|
|
|
|
server-prisma-generate:
|
|
@docker compose exec twenty-dev sh -c "cd /app/server && yarn prisma:generate"
|
|
|
|
server-prisma-migrate:
|
|
@docker compose exec twenty-dev sh -c "cd /app/server && yarn prisma:migrate"
|
|
|
|
server-prisma-seed:
|
|
@docker compose exec twenty-dev sh -c "cd /app/server && yarn prisma:seed"
|
|
|
|
server-prisma-reset:
|
|
@docker compose exec twenty-dev sh -c "cd /app/server && yarn prisma:reset"
|