-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f17f6c1
commit 768e0f8
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# deploy | ||
|
||
1. ensure node version from `.nvmrc` | ||
1. ensure node v20+ | ||
1. in monorepo root directory: `yarn && yarn build` | ||
1. follow SSL cert instructions below | ||
1. in this directory: `yarn run` | ||
1. in this directory: `yarn start` | ||
|
||
## One-time setup SSL certs for grpc server | ||
|
||
grpc requires an SSL connection or it won't run, so we generate a self-signed certificate: | ||
|
||
1. complete CA instructions at: https://connectrpc.com/docs/node/getting-started/#use-the-grpc-protocol-instead-of-the-connect-protocol | ||
1. if those instructions were successful, then mkcert generated `localhost+2.pem` and `localhost+2-key.pem` in this `packages/service` directory which are expected by the grpc server | ||
1. `mkcert` must be in `PATH` and then `yarn run` | ||
1. `mkcert` must be in `PATH` and then `yarn start` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters