mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
feat: npm run d for ultra quick start
This commit is contained in:
@ -115,6 +115,10 @@ Want to get up and running quickly? Follow these steps:
|
|||||||
- Run `npm run dx` in the root directory
|
- Run `npm run dx` in the root directory
|
||||||
- This will spin up a postgres database and inbucket mail server in docker containers.
|
- This will spin up a postgres database and inbucket mail server in docker containers.
|
||||||
- Run `npm run dev` in the root directory
|
- 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
|
That's it! You should now be able to access the app at http://localhost:3000
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,8 @@
|
|||||||
"docker:compose": "docker-compose -f ./docker/compose-without-app.yml",
|
"docker:compose": "docker-compose -f ./docker/compose-without-app.yml",
|
||||||
"docker:compose-up": "npm run docker:compose -- up -d",
|
"docker:compose-up": "npm run docker:compose -- up -d",
|
||||||
"docker:compose-down": "npm run docker:compose -- down",
|
"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": [
|
"workspaces": [
|
||||||
"apps/*",
|
"apps/*",
|
||||||
@ -54,4 +55,4 @@
|
|||||||
"prettier": "^2.8.7",
|
"prettier": "^2.8.7",
|
||||||
"prettier-plugin-tailwindcss": "^0.2.5"
|
"prettier-plugin-tailwindcss": "^0.2.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user