You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In `webapp_proxy` and `pizzly_proxy` make sure you fill in the `NGROK_SUBDOMAIN` and `NGROK_AUTH` environment variables. For example, in `webapp_proxy` and `pizzly_proxy` you could have something like `dan-trigger-dev` and `dan-pizzly-dev` respectively for the `NGROK_SUBDOMAIN` env var.
65
+
Next, update the `AUTH_CALLBACK_URL` env var in the `pizzly-server.env` env file with the value provided to the `./scripts/proxy-pizzly.sh` command. Using the example above the `AUTH_CALLBACK_URL` would be `AUTH_CALLBACK_URL=https://dan-pizzly-dev.eu.ngrok.io/oauth/callback`.
57
66
58
-
Next, update the `SERVER_HOST` env var in the `pizzly-server.env` env file with the value provided to the `NGROK_SUBDOMAIN` in the `pizzly_proxy.env` file. Using the example above the `SERVER_HOST` would be `SERVER_HOST=https://dan-pizzly-dev.ngrok.io`
67
+
If you aren't proxying pizzly according to step 2, then leave the `pizzly-server.env` file empty.
59
68
60
-
Also, in `webapp/.env`, set the `APP_ORIGIN` to the `NGROK_SUBDOMAIN` provided to the `webapp_proxy.env` file, e.g. `APP_ORIGIN=https://dan-trigger-dev.ngrok.io`
69
+
If you are proxying the webapp accroding to step 2 then in `webapp/.env`, set the `APP_ORIGIN` to the `NGROK_SUBDOMAIN` provided to the `./scripts/proxy-webapp.sh` command, e.g. `APP_ORIGIN=https://dan-trigger-dev.eu.ngrok.io`
61
70
62
-
3. Start postgresql, pulsar, pizzly server, and the two ngrok proxies
71
+
4. Start postgresql, pulsar, and pizzly server
63
72
64
73
```bash
65
74
pnpm run docker:db
66
75
```
67
76
68
77
> **Note:** The npm script will complete while Docker sets up the container in the background. Ensure that Docker has finished and your container is running before proceeding.
69
78
70
-
4. Generate prisma schema
79
+
5. Generate prisma schema
71
80
```bash
72
81
pnpm run generate
73
82
```
74
-
5. Run the Prisma migration to the database
83
+
6. Run the Prisma migration to the database
75
84
76
85
```bash
77
86
pnpm run db:migrate:deploy
78
87
```
79
88
80
-
6. Run the first build (with dependencies via the `...` option)
89
+
7. Run the first build (with dependencies via the `...` option)
81
90
82
91
```bash
83
92
pnpm run build --filter=webapp...
84
93
```
85
94
86
95
**Running simply `pnpm run build` will build everything, including the Remix app.**
0 commit comments