diff --git a/dokku_notes b/dokku_notes index 8fd769b..416b601 100644 --- a/dokku_notes +++ b/dokku_notes @@ -6,10 +6,12 @@ https://dokku.com/docs/getting-started/installation/ wget https://raw.githubusercontent.com/dokku/dokku/v0.30.7/bootstrap.sh sudo DOKKU_TAG=v0.30.7 bash bootstrap.sh -cat ~/.ssh/authorized_keys | dokku ssh-keys:add admin +echo cat ~/.ssh/authorized_keys | dokku ssh-keys:add admin + +echo '' | dokku ssh-keys:add admin # server ip -dokku domains:set-global ###severip +dokku domains:set-global ###c_name sudo dokku apps:create werkout sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git @@ -44,6 +46,9 @@ Host brodkastDev IdentitiesOnly yes AddKeysToAgent yes ''' +#add remote +dokku@werkoutdev:werkout + git push dokku@werkoutDev:werkout dokku git push dokku@werkout:werkout master diff --git a/werkout_api/settings.py b/werkout_api/settings.py index 4ee7dfc..72a8d6a 100644 --- a/werkout_api/settings.py +++ b/werkout_api/settings.py @@ -1,5 +1,6 @@ from pathlib import Path import os +import re # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent