mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
move .env to bare_metal
This commit is contained in:
parent
bd59e06d17
commit
3c1449f9d5
@ -92,10 +92,10 @@ All your following installations in `install.sh` will fail!*
|
||||
#### Create `.env` and set values
|
||||
|
||||
```bash
|
||||
cd ~/gradido/deployment
|
||||
cp ./bare_metal/.env.dist ./hetzner_cloud/.env
|
||||
cd hetzner_cloud/
|
||||
cd ~/gradido/deployment/bare_metal
|
||||
cp .env.dist .env
|
||||
nano .env
|
||||
|
||||
# adjust values accordingly
|
||||
```
|
||||
|
||||
@ -105,5 +105,6 @@ Don't use this script if you have custom config in /etc/nginx/conf.d, because th
|
||||
will remove it and ln ../bare_metal/nginx/conf.d
|
||||
|
||||
```bash
|
||||
cd ~/gradido/deployment/hetzner_cloud
|
||||
sudo chmod +x ./install.sh
|
||||
sudo ./install.sh
|
||||
@ -17,7 +17,7 @@ set +o allexport
|
||||
# the services and will therefore take precedence over the .env
|
||||
if [ -f "./.env" ]; then
|
||||
set -o allexport
|
||||
source ./.env
|
||||
source $SCRIPT_DIR/.env
|
||||
set +o allexport
|
||||
else
|
||||
set -o allexport
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user