Created
June 7, 2020 14:38
-
-
Save worldofprasanna/e4333a01fa648cb0e1c356d16ca1df8e to your computer and use it in GitHub Desktop.
create postgresql database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install postgres plugin | |
dokku plugin:install https://github.com/dokku/dokku-postgres.git postgres | |
# Create postgres database | |
dokku postgres:create my-database | |
# Link the postgres with the app | |
dokku postgres:link <DB_NAME> <APP_NAME> | |
# eg: dokku postgres:link my-database getting-started-with-dokku |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment