twenty/infra/dev/Makefile
Emilien Chauvet 7d6adbaa73
Update company card (#512)
* Add card rows

* WIP - add amount

* Refactor board state to separate pipeline progress data and company data

* Add migration and generated code

* Pass pipeline progress properties to the comapny card

* WIP-editable

* Enable amount edition

* Nits

* Remove useless import

* Fix empty board bug

* Use cell for editable values on company card

* Add fields

* Enable edition for closeDate

* Add dummy edits for recurring and probability

* Nits

* remove useless fields

* Nits

* Fix user provider

* Add generated code

* Fix nits, reorder migrations, fix login

* Fix tests

* Fix lint
2023-07-06 18:41:44 -07:00

49 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
up:
@docker-compose up -d
down:
@docker-compose down
sh:
@docker-compose exec twenty-dev sh
front-start:
@docker-compose exec twenty-dev sh -c "cd /app/front && yarn start"
front-lint:
@docker-compose exec twenty-dev sh -c "cd /app/front && yarn lint"
front-test:
@docker-compose exec twenty-dev sh -c "cd /app/front && yarn test"
front-coverage:
@docker-compose exec twenty-dev sh -c "cd /app/front && yarn coverage"
front-graphql-generate:
@docker-compose exec twenty-dev sh -c "cd /app/front && yarn graphql:generate"
front-storybook:
@docker-compose exec twenty-dev sh -c "cd /app/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"