A micro post for commands that I usually look for, while using dokku.
dokku apps:create <app-name>
sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git
dokku postgres:create <db-name>
dokku postgres:link <db-name> <app-name>
dokku logs <app-name>
dokku logs <app-name> -t #to tail the logs
sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git
dokku config:set --no-restart <app-name> DOKKU_LETSENCRYPT_EMAIL=<email>
dokku letsencrypt <app-name>
dokku domains:add <app-name> <domain>
dokku ps:restartall
dokku ps:restart <app-name>
### Rebuild from source
dokku ps:rebuildall
dokku ps:rebuild <app-nam>
git remote add dokku dokku@<host>:<app-name>
git push dokku master
or
git push dokku <local-branch>:master