Geode Site. The second version
Once you've installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
The site uses the following (optional) static environment variables:
-
PUBLIC_API_ENDPOINT
: Base API endpoint for all requests. Current default is "https://api.geode-sdk.org". -
PRIVATE_API_ENDPOINT
: API endpoint for requests made from the server, if enabled. This replaces thePUBLIC_API_ENDPOINT
, so it should follow the same format. -
PRIVATE_ENDPOINT_ENABLED
: Enables thePRIVATE_API_ENDPOINT
option if set to "true". Disabled by default. -
PRIVATE_REDIS_URL
: Allows for caching of some data (such as GitHub API requests) through Redis. Disabled by default.
nsfm (not safe for mat)