Skip to content

Commit 140116a

Browse files
committed
correctly reference env vars in run.sh
1 parent 70af5ab commit 140116a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ In real app, do not commit `.env.development` & `.env.production` to source cont
66

77
Create `.env.development` & `.env.production` using `.env.example` format.
88

9+
> NOTE: `SQLITE_DATABASE_NAME` should be equal to `users.${MODE}.sqlite` where `MODE` is an environment variable in `.env.*` as it is referenced in `run.sh`. For example, don't use `SQLITE_DATABASE_NAME=users.dev.sqlite` in `.env.development` if you are using `MODE=development` in the same file. You have to either use `MODE=dev` or `SQLITE_DATABASE_NAME=users.development.sqlite`. I like using long-form.
10+
911
NPM Scripts appended with `:prod` are production scripts and those without anything appended are scripts to be used in development.
1012

1113
### TODOS

0 commit comments

Comments
 (0)