WIP
This commit is contained in:
@@ -6,10 +6,12 @@ https://dokku.com/docs/getting-started/installation/
|
|||||||
wget https://raw.githubusercontent.com/dokku/dokku/v0.30.7/bootstrap.sh
|
wget https://raw.githubusercontent.com/dokku/dokku/v0.30.7/bootstrap.sh
|
||||||
sudo DOKKU_TAG=v0.30.7 bash 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 '<authorized_keys contents here>' | dokku ssh-keys:add admin
|
||||||
|
|
||||||
# server ip
|
# server ip
|
||||||
dokku domains:set-global ###severip
|
dokku domains:set-global ###c_name
|
||||||
|
|
||||||
sudo dokku apps:create werkout
|
sudo dokku apps:create werkout
|
||||||
sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git
|
sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git
|
||||||
@@ -44,6 +46,9 @@ Host brodkastDev
|
|||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
AddKeysToAgent yes
|
AddKeysToAgent yes
|
||||||
'''
|
'''
|
||||||
|
#add remote
|
||||||
|
dokku@werkoutdev:werkout
|
||||||
|
|
||||||
git push dokku@werkoutDev:werkout dokku
|
git push dokku@werkoutDev:werkout dokku
|
||||||
git push dokku@werkout:werkout master
|
git push dokku@werkout:werkout master
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import os
|
import os
|
||||||
|
import re
|
||||||
|
|
||||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
|
|||||||
Reference in New Issue
Block a user