make it possible to use additional local .env entries

This commit is contained in:
einhornimmond 2021-09-09 13:04:04 +02:00
parent 434fbb6d2f
commit 27e99fbd03
2 changed files with 3 additions and 1 deletions

1
.env.local.dist Normal file
View File

@ -0,0 +1 @@
// for local .env entries

View File

@ -3,7 +3,8 @@
# or NPM_BIN Path and NVM_DIR must be adjusted
cd /var/www/html/gradido
eval "echo \"$(cat .env.shell)\"" > .env
eval "echo \"$(cat .env.local)\"" > .env
eval "echo \"$(cat .env.shell)\"" >> .env
cd frontend
NPM_BIN=/root/.nvm/versions/node/v12.19.0/bin/npm