-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup test database for running database tests
* Add .env.test
- Loading branch information
Showing
6 changed files
with
39 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
/img | ||
/e2e/ | ||
/mysql-data | ||
/mysql-data-test | ||
/node_modules | ||
/playwright-report | ||
/test | ||
|
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,20 @@ | ||
# Connect to MySQL Docker container locally | ||
DATABASE_URL="mysql://starchart:starchart_password@localhost:3307/starchart_test" | ||
|
||
# Connect to Redis container locally | ||
REDIS_URL=redis://localhost:6379 | ||
|
||
# Used to compute hash against the session IDs. Should be long, random. | ||
SESSION_SECRET="super-duper-s3cret" | ||
|
||
# https://letsencrypt.org/docs/expiration-emails/ | ||
LETS_ENCRYPT_ACCOUNT_EMAIL="[email protected]" | ||
|
||
PORT=8080 | ||
|
||
# One of: trace, debug, info, warn, error, fatal, silent | ||
LOG_LEVEL=debug | ||
|
||
# Nodemailer config | ||
NOTIFICATIONS_EMAIL_USER="[email protected]" | ||
MAILHOG_SMTP_PORT=1025 |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
/build | ||
/public/build | ||
/mysql-data | ||
/mysql-data-test | ||
/redis-data | ||
/img | ||
/dev-secrets |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ node_modules | |
.env | ||
/redis-data | ||
/mysql-data | ||
/mysql-data-test | ||
/img | ||
/playwright-report/ | ||
/dev-secrets | ||
|
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