-
-
Notifications
You must be signed in to change notification settings - Fork 34
Dev: Server
Pablo Mayrgundter edited this page Mar 6, 2026
·
10 revisions
Run the server like so for local serving on http://localhost:8080/
yarn install
yarn serve
To disable local dev mode, e.g. to make live GitHub API calls
NODE_ENV=production yarn serve-prod
And also set these:
| Name | Expected Value | Description |
|---|---|---|
OAUTH2_CLIENT_ID |
ask team | required for production, but not present in config for security |
MINIFY |
false |
Optional. Turn off to simplify symbol maps |
To run HTTPS, in order to enable SharedArrayBuffer support for multithreaded builds, run:
yarn serve-prod-https
Share embeds a self signed SSL certificate. When you load the page in the browser, you must trust this certificate or generate your own and put it inside the tools/esbuild/certificate folder.
Further instructions: https://github.com/bldrs-ai/Share/tree/main/tools/esbuild/certificates