-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add postinstall script to setup env (#4)
* build: add postinstall script to setup env * fix: correct naming of env vars * docs: fix formatting * fix: correct imports
- Loading branch information
Showing
5 changed files
with
27 additions
and
3 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,12 @@ | ||
# Dummy values for local testing to avoid errors | ||
|
||
# AWS | ||
VITE_AWS_REGION='us-east-1' | ||
VITE_CF_DOMAIN='https://localhost:3000' | ||
|
||
# AWS Cognito | ||
VITE_COGNITO_DOMAIN='https://cognito-idp.us-east-1.amazonaws.com/us-east-1_abcd1234' | ||
VITE_USER_POOL_ID='us-east-1_abcd1234' | ||
VITE_USER_POOL_CLIENT_ID='12345678901234567890123456' | ||
VITE_COGNITO_REDIRECT_SIGN_IN='http://localhost:3000/signin' | ||
VITE_COGNITO_REDIRECT_SIGN_OUT='http://localhost:3000/signout' |
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# environments | ||
.env.*.local | ||
!.env.example | ||
|
||
# logs | ||
**/*.log | ||
logs | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
# FILEPATH: /Users/sinanbolel/code/@aquia/template-vite-react/scripts/post-install.sh | ||
|
||
cp .env.example .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