Re-add docker-compose up command

This commit is contained in:
Charles Bochet 2024-01-13 11:02:00 +01:00
parent 0ef1736188
commit 03bf597301
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,9 @@
docker-dev-build: docker-dev-build:
make -C packages/twenty-docker dev-build make -C packages/twenty-docker dev-build
docker-dev-up:
make -C packages/twenty-docker dev-up
docker-dev-start: docker-dev-start:
make -C packages/twenty-docker dev-start make -C packages/twenty-docker dev-start

View File

@ -2,6 +2,9 @@ dev-build:
@docker compose -f dev/docker-compose.yml down -v @docker compose -f dev/docker-compose.yml down -v
@docker compose -f dev/docker-compose.yml build @docker compose -f dev/docker-compose.yml build
dev-up:
@docker compose -f dev/docker-compose.yml up -d
dev-start: dev-start:
@docker compose -f dev/docker-compose.yml start @docker compose -f dev/docker-compose.yml start

View File

@ -86,7 +86,7 @@ Before running the project, you need to initialize the database by running the m
Start the containers: Start the containers:
```bash ```bash
make docker-dev-start make docker-dev-up
``` ```
Setup database, run migrations, and seed: Setup database, run migrations, and seed: