Skip to content

Commit

Permalink
Add: about; Update: .env.example, how env is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
aaanh committed Jan 5, 2024
1 parent 285744c commit 9a2eaf1
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 122 deletions.
21 changes: 2 additions & 19 deletions frontend/.env.example
Original file line number Diff line number Diff line change
@@ -1,19 +1,2 @@
# Since the ".env" file is gitignored, you can use the ".env.example" file to
# build a new ".env" file when you clone the repo. Keep this file up-to-date
# when you add new variables to `.env`.

# This file will be committed to version control, so make sure not to have any
# secrets in it. If you are cloning this repo, create a copy of this file named
# ".env" and populate it with your secrets.

# When adding additional environment variables, the schema in "/src/env.js"
# should be updated accordingly.

# Drizzle
# Get the Database URL from the "prisma" dropdown selector in PlanetScale.
# Change the query params at the end of the URL to "?ssl={"rejectUnauthorized":true}"
DATABASE_URL='mysql://YOUR_MYSQL_URL_HERE?ssl={"rejectUnauthorized":true}'

# Example:
# SERVERVAR="foo"
# NEXT_PUBLIC_CLIENTVAR="bar"
NEXT_PUBLIC_SERVER_MODE="dev" # dev or release
NEXT_PUBLIC_PROD_API_SERVER="https://api.reroll.ing" # https://your.remote.server
Loading

0 comments on commit 9a2eaf1

Please sign in to comment.