Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 368 Bytes

deploy.md

File metadata and controls

22 lines (16 loc) · 368 Bytes

Deploy

Server:

APP_NAME="covid19-br"

dokku apps:create $APP_NAME
# copy `bot/covid19-br.cron` contents to dokku's crontab on server
dokku ps:scale $APP_NAME web=0
dokku ps:scale $APP_NAME cron=1

# For each var inside `.env`, do:
dokku config:set $APP_NAME VARIABLE=VALUE

Local:

git remote add dokku dokku@SERVER
git push dokku master