-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read env vars from .env.pairist file if given
This is intended to make reproducible deployment and development easier. Now, if there is a file called .env.pairist in the current directory when these scripts are run, it'll be sourced and env vars will be loaded from it. Also added a .env.pairist.sample to make this simpler.
- Loading branch information
Showing
5 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# always required: | ||
|
||
PAIRIST_FIREBASE_PROJECT_ID="sample-project-id" | ||
PAIRIST_FIREBASE_API_KEY="sample-api-key" | ||
|
||
# optional (uncomment & set if not using defaults): | ||
|
||
# PAIRIST_FIREBASE_AUTH_DOMAIN="sample-project-id.firebaseapp.com" | ||
# PAIRIST_FIREBASE_URL="https://sample-project-id.firebaseio.com" | ||
# PAIRIST_ALLOWED_EMAIL_DOMAINS="example.com" | ||
|
||
# NOTE: | ||
# see docs/configuration.md for complete list of env vars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ node_modules | |
.firebase | ||
|
||
# misc | ||
.env.pairist | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters