Skip to content

Dev: Server

Pablo Mayrgundter edited this page Feb 8, 2024 · 6 revisions

Run the local server like so:

yarn install
yarn serve

Local Dev Server environment variables

A full listing of environment variables is in tools/esbuild/common.js#buildConfig

Name Expected Value Description
DISABLE_MOCK_SERVICE_WORKER false By default use MSW; true disables MSW to connect you directly to GH prod
AUTH0_DOMAIN bldrs.us.auth0.com Auth0 security domain
OAUTH2_REDIRECT_URI http://localhost:8080/share URL where you are running your application
GITHUB_BASE_URL https://git.bldrs.dev/p/gh URL to Share OAuth Proxy that permits your local application URL
RAW_GIT_PROXY_URL https://rawgit.bldrs.dev/r OR 'https://raw.githubusercontent.com' See Raw-GitHub-User-Content-and-Ratelimits
SENTRY_ENVIRONMENT (production OR staging OR development) Exception reporting
Clone this wiki locally