twenty/infra/dev/Makefile

41 lines
860 B
Makefile
Raw Normal View History

2023-04-13 19:12:33 +03:00
build: ##
@docker-compose down
docker volume rm dev_twenty_node_modules_front || true
docker volume rm dev_twenty_node_modules_server || true
docker volume rm dev_twenty_node_modules_docs || true
docker-compose build
2023-04-13 19:12:33 +03:00
up: ##
@docker-compose up -d
2023-04-13 19:12:33 +03:00
down: ##
@docker-compose down
## Front
2023-04-13 19:12:33 +03:00
front-logs: ##
@docker-compose logs twenty-front -f
front-sh: ##
@docker-compose exec twenty-front sh
front-test: ##
2023-04-13 19:12:33 +03:00
@docker-compose exec twenty-front sh -c "npm run test"
front-coverage: ##
2023-04-13 19:12:33 +03:00
@docker-compose exec twenty-front sh -c "npm run coverage"
front-storybook: ##
2023-04-13 19:12:33 +03:00
@docker-compose exec twenty-front sh -c "npm run storybook"
front-graphql-generate: ##
@docker-compose exec twenty-front sh -c "npm run graphql-generate"
2023-04-13 19:12:33 +03:00
## Hasura
hasura-logs: ##
@docker-compose logs twenty-hasura -f
hasura-sh: ##
@docker-compose exec twenty-hasura sh