Dokku deploy docs
I want to deploy the app bravekids and first I log in to the server to the user dev. ****
# localhost
ssh [email protected]
If you are asked for a password then you need to be added as an authorized user first. Ask Marek for more details.
My app name is bravekids. I want to create a staging server for my app.
# [email protected]
dokku apps:create **bravekids**
<aside>
✅ Check your all apps with the command: dokku apps:list
and dokku apps:report
</aside>
For dokku, you can add backing services with plugins. https://dokku.com/docs/community/plugins/#official-plugins-beta
Probably you already have installed plugins, and now you can create services.
# [email protected]
dokku postgres:create **bravekids**
DATABASE_URL
env variable by linking the service# [email protected]
# dokku postgres:link <database_name> <app_name>
****dokku postgres:link **bravekids** **bravekids**
<aside>
✅ Check ready databases: dokku postgres:list
</aside>
<aside>
✅ Check DATABASE_URL
in app config: dokku config:show bravekids
</aside>