Last active
June 16, 2018 17:26
-
-
Save nickyrabit/42697a9656ff14c53468ab63d2e7a674 to your computer and use it in GitHub Desktop.
On Heroku, Flask and PostgreSQL (Simple CheatSheet)
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
So as im learning Flask and PostgreSQL, and i have been learning to host the Flask app into Heroku and i found some of these tiny tips for you guys to know because it | |
may be hard for you guys who are beginners like me to maneouver in this envirinment | |
ENABLE LOGGIN IN HEROKU | |
heroku logs --tail | |
TO ALLOCATE YOUR DABATABASE IN HEROKU CLI (COMMAND PROMPT RECEIVING HEROKU COMMANDS) | |
heroku pg:psql "POSTGREAPP NAME" --app ""database name" | |
LISTING ALL TABLES IN HEROKU CLI POSTGRES >> \dt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment