feat: npm run d for ultra quick start

This commit is contained in:
Timur Ercan
2023-04-15 20:04:28 +02:00
parent b111874d7c
commit 63bd044723
2 changed files with 7 additions and 2 deletions

View File

@ -115,6 +115,10 @@ Want to get up and running quickly? Follow these steps:
- Run `npm run dx` in the root directory
- This will spin up a postgres database and inbucket mail server in docker containers.
- Run `npm run dev` in the root directory
- Want it even faster? Just use
```sh
npm run d
```
That's it! You should now be able to access the app at http://localhost:3000

View File

@ -11,7 +11,8 @@
"docker:compose": "docker-compose -f ./docker/compose-without-app.yml",
"docker:compose-up": "npm run docker:compose -- up -d",
"docker:compose-down": "npm run docker:compose -- down",
"dx": "npm install && run-s docker:compose-up db-migrate:dev"
"dx": "npm install && run-s docker:compose-up db-migrate:dev",
"d": "npm install && run-s docker:compose-up db-migrate:dev && npm run db-seed && npm run dev"
},
"workspaces": [
"apps/*",