* update .env.template
This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-04-05 21:48:47 +02:00
1 parent 2996a1d1d0
commit a5002bf256
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -4,5 +4,5 @@
# the variables declared in .env are loaded automatically in run.py # the variables declared in .env are loaded automatically in run.py
export MY_VAR="/home/user/my_system_path" MY_VAR="/home/user/my/system/path"
export MY_KEY="asdgjhawi8y23ihsghsueity23ihwd" MY_KEY="asdgjhawi8y23ihsghsueity23ihwd"
+2 -2
View File
@@ -712,8 +712,8 @@ System specific variables (e.g. absolute paths to datasets) should not be under
Template contains `.env.template` file, which serves as an example. Create a new file called `.env` (this name is excluded from version control in .gitignore). Template contains `.env.template` file, which serves as an example. Create a new file called `.env` (this name is excluded from version control in .gitignore).
You should use it for storing environment variables like this: You should use it for storing environment variables like this:
```bash ```yaml
export MY_VAR=/home/user/my_system_path MY_VAR=/home/user/my_system_path
``` ```
All variables from `.env` are loaded in `run.py` automatically. All variables from `.env` are loaded in `run.py` automatically.