diff --git a/README.md b/README.md index d162bf9e8..436e5150d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 9f5d1891b..3137c0a65 100644 --- a/package.json +++ b/package.json @@ -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/*", @@ -54,4 +55,4 @@ "prettier": "^2.8.7", "prettier-plugin-tailwindcss": "^0.2.5" } -} \ No newline at end of file +}