use single quotation marks for env instead of double

master
Aevann 2023-03-13 19:01:22 +02:00
parent 83248970b5
commit 8e81cbf36e
3 changed files with 26 additions and 26 deletions

View File

@ -1,20 +1,20 @@
export FLASK_APP="/rDrama/files/cli:app"
export SITE="localhost"
export SITE_NAME="rDrama"
export SECRET_KEY="blahblahblah"
export DATABASE_URL="postgresql://postgres@postgres:5432"
export REDIS_URL="redis://redis:6379"
export PROXY_URL="http://localhost:18080"
export LOG_DIRECTORY="/var/log/rdrama"
export SETTINGS_FILENAME="/site_settings.json"
export GIPHY_KEY="blahblahblah"
export TURNSTILE_SITEKEY="blahblahblah"
export TURNSTILE_SECRET="blahblahblah"
export YOUTUBE_KEY="blahblahblah"
export VAPID_PUBLIC_KEY="blahblahblah"
export VAPID_PRIVATE_KEY="blahblahblah"
export DONATE_SERVICE="blahblahblah"
export DONATE_LINK="https://blahblahblah"
export CF_KEY="blahblahblah"
export CF_ZONE="blahblahblah"
export DEBIAN_FRONTEND="noninteractive"
export FLASK_APP='/rDrama/files/cli:app'
export SITE='localhost'
export SITE_NAME='rDrama'
export SECRET_KEY='blahblahblah'
export DATABASE_URL='postgresql://postgres@postgres:5432'
export REDIS_URL='redis://redis:6379'
export PROXY_URL='http://localhost:18080'
export LOG_DIRECTORY='/var/log/rdrama'
export SETTINGS_FILENAME='/site_settings.json'
export GIPHY_KEY='blahblahblah'
export TURNSTILE_SITEKEY='blahblahblah'
export TURNSTILE_SECRET='blahblahblah'
export YOUTUBE_KEY='blahblahblah'
export VAPID_PUBLIC_KEY='blahblahblah'
export VAPID_PRIVATE_KEY='blahblahblah'
export DONATE_SERVICE='blahblahblah'
export DONATE_LINK='https://blahblahblah'
export CF_KEY='blahblahblah'
export CF_ZONE='blahblahblah'
export DEBIAN_FRONTEND='noninteractive'

View File

@ -1,9 +1,9 @@
#!/bin/bash
. ./.env
export DATABASE_URL="postgresql://postgres@postgres:5432"
export REDIS_URL="redis://redis:6379"
export PROXY_URL="http://opera-proxy:18080"
export DATABASE_URL='postgresql://postgres@postgres:5432'
export REDIS_URL='redis://redis:6379'
export PROXY_URL='http://opera-proxy:18080'
/etc/init.d/nginx start
# gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 -D
gunicorn files.__main__:app -w 1

View File

@ -1,6 +1,6 @@
cd /rDrama
. ./.env
export DATABASE_URL="postgresql://postgres@postgres:5432"
export REDIS_URL="redis://redis:6379"
export PROXY_URL="http://opera-proxy:18080"
export DATABASE_URL='postgresql://postgres@postgres:5432'
export REDIS_URL='redis://redis:6379'
export PROXY_URL='http://opera-proxy:18080'
gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 --reload