forked from rDrama/rDrama
use single quotation marks for env instead of double
parent
83248970b5
commit
8e81cbf36e
40
env_template
40
env_template
|
@ -1,20 +1,20 @@
|
||||||
export FLASK_APP="/rDrama/files/cli:app"
|
export FLASK_APP='/rDrama/files/cli:app'
|
||||||
export SITE="localhost"
|
export SITE='localhost'
|
||||||
export SITE_NAME="rDrama"
|
export SITE_NAME='rDrama'
|
||||||
export SECRET_KEY="blahblahblah"
|
export SECRET_KEY='blahblahblah'
|
||||||
export DATABASE_URL="postgresql://postgres@postgres:5432"
|
export DATABASE_URL='postgresql://postgres@postgres:5432'
|
||||||
export REDIS_URL="redis://redis:6379"
|
export REDIS_URL='redis://redis:6379'
|
||||||
export PROXY_URL="http://localhost:18080"
|
export PROXY_URL='http://localhost:18080'
|
||||||
export LOG_DIRECTORY="/var/log/rdrama"
|
export LOG_DIRECTORY='/var/log/rdrama'
|
||||||
export SETTINGS_FILENAME="/site_settings.json"
|
export SETTINGS_FILENAME='/site_settings.json'
|
||||||
export GIPHY_KEY="blahblahblah"
|
export GIPHY_KEY='blahblahblah'
|
||||||
export TURNSTILE_SITEKEY="blahblahblah"
|
export TURNSTILE_SITEKEY='blahblahblah'
|
||||||
export TURNSTILE_SECRET="blahblahblah"
|
export TURNSTILE_SECRET='blahblahblah'
|
||||||
export YOUTUBE_KEY="blahblahblah"
|
export YOUTUBE_KEY='blahblahblah'
|
||||||
export VAPID_PUBLIC_KEY="blahblahblah"
|
export VAPID_PUBLIC_KEY='blahblahblah'
|
||||||
export VAPID_PRIVATE_KEY="blahblahblah"
|
export VAPID_PRIVATE_KEY='blahblahblah'
|
||||||
export DONATE_SERVICE="blahblahblah"
|
export DONATE_SERVICE='blahblahblah'
|
||||||
export DONATE_LINK="https://blahblahblah"
|
export DONATE_LINK='https://blahblahblah'
|
||||||
export CF_KEY="blahblahblah"
|
export CF_KEY='blahblahblah'
|
||||||
export CF_ZONE="blahblahblah"
|
export CF_ZONE='blahblahblah'
|
||||||
export DEBIAN_FRONTEND="noninteractive"
|
export DEBIAN_FRONTEND='noninteractive'
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
. ./.env
|
. ./.env
|
||||||
export DATABASE_URL="postgresql://postgres@postgres:5432"
|
export DATABASE_URL='postgresql://postgres@postgres:5432'
|
||||||
export REDIS_URL="redis://redis:6379"
|
export REDIS_URL='redis://redis:6379'
|
||||||
export PROXY_URL="http://opera-proxy:18080"
|
export PROXY_URL='http://opera-proxy:18080'
|
||||||
/etc/init.d/nginx start
|
/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 load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 -D
|
||||||
gunicorn files.__main__:app -w 1
|
gunicorn files.__main__:app -w 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
cd /rDrama
|
cd /rDrama
|
||||||
. ./.env
|
. ./.env
|
||||||
export DATABASE_URL="postgresql://postgres@postgres:5432"
|
export DATABASE_URL='postgresql://postgres@postgres:5432'
|
||||||
export REDIS_URL="redis://redis:6379"
|
export REDIS_URL='redis://redis:6379'
|
||||||
export PROXY_URL="http://opera-proxy:18080"
|
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
|
gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 --reload
|
||||||
|
|
Loading…
Reference in New Issue