Added env template which can now be regenerated with stash.sh --gentpl
This commit is contained in:
parent
a48fa91e6f
commit
2266551428
2 changed files with 15 additions and 0 deletions
5
env-template.txt
Normal file
5
env-template.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
STASH_IMPORT_DIR=
|
||||
STASH_API_KEY=
|
||||
STASH_HOST=
|
||||
STASH_PORT=
|
||||
FANCTL_SERVO_PIN=
|
10
setup.sh
Executable file
10
setup.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $1 == "--gentpl" ]; then
|
||||
grep "[A-Z_ ]*=" .env -o > env-template.txt
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Installs prerequisites for some of the system scripts
|
||||
|
||||
python -m pip install python-dotenv
|
Loading…
Reference in a new issue