This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
forked from PIWEEK/easyfest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
33 lines (28 loc) · 1.8 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# NOTE These environment variables will be parsed by Vite (which uses dotenv and dotenv-expand). Each variable will be
# "expanded", i.e. each variable value, if containing references to other $VARIABLES, will be resolved. You'll need to
# escape special characters like "$" with "\$".
# IMPORTANT Environment variables names prefixed with `VITE_` will be exposed to the browser, through inlining them at
# build time in the final bundled code.
# Thus said, these variables SHOULD NOT hold sensible secrets.
# Vite docs: https://vitejs.dev/guide/env-and-mode.html#env-files
# Dotenv docs: https://github.com/motdotla/dotenv#variable-expansion
# Dotenv-expand docs: https://github.com/motdotla/dotenv-expand#what-rules-does-the-expansion-engine-follow
# CONFIG Base URL of the CMS API endpoints
# With optional port and path but without trailing slash
# If on another machine, ensure it uses the HTTPS protocol on production
VITE_API_URL="http://localhost:1337/api"
# CONFIG Base URL for the media provided by the CMS
# With optional port and path but without trailing slash
# In local development, this is exactly the same as the CMS origin
VITE_STORAGE_URL="http://localhost:1337"
# CONFIG [optional] Base URL of the Penpot instance to be used with penpot-export
# With scheme, optional port and path but without trailing slash
PENPOT_BASE_URL="https://design.penpot.app"
# CONFIG Identifier of the Penpot file to be used with penpot-export
# It must be a Penpot file UUID
# Find it by running `npx penpot-export inspect <Penpot URL>` in a terminal
PENPOT_FILE_ID="<fill in here the file's UUID>"
# SECRET Personal access token to synchronize design tokens with penpot-export
# Generate a new one from the Penpot webapp at Your account -> Access Tokens
# It only needs read-only permissions
PENPOT_ACCESS_TOKEN="<generate a new one>"