WIP
This commit is contained in:
@@ -11,7 +11,7 @@ echo cat ~/.ssh/authorized_keys | dokku ssh-keys:add admin
|
||||
echo '<authorized_keys contents here>' | dokku ssh-keys:add admin
|
||||
|
||||
# server ip
|
||||
dokku domains:set-global ###c_name
|
||||
dokku domains:set-global 45.79.34.63###c_name
|
||||
|
||||
sudo dokku apps:create werkout
|
||||
sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git
|
||||
|
||||
@@ -141,7 +141,7 @@ if os.environ.get("DATABASE_URL"):
|
||||
# }
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = ['https://*.werkout.fitness']
|
||||
SECRET_KEY = os.environ.get("SECRET_KEY", 'secret')
|
||||
SECRET_KEY = o.environ.get("SECRET_KEY", 'secret')
|
||||
|
||||
# Parse the DATABASE_URL env var.
|
||||
USER, PASSWORD, HOST, PORT, NAME = re.match("^postgres://(?P<username>.*?)\:(?P<password>.*?)\@(?P<host>.*?)\:(?P<port>\d+)\/(?P<db>.*?)$", os.environ.get("DATABASE_URL", "")).groups()
|
||||
|
||||
Reference in New Issue
Block a user