Steps to create a postgres database and deply a Python app to Heroku
pipenv install gunicorn
or
pip install gunicorn
| @import url("https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700"); | |
| @import url("https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"); | |
| * { | |
| margin: 0; | |
| border: 0; | |
| box-sizing: border-box; | |
| } | |
| :root { |
| @import url("https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700"); | |
| @import url("https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"); | |
| * { | |
| margin: 0; | |
| border: 0; | |
| box-sizing: border-box; | |
| } | |
| :root { |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>My Page</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>My Page</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |
| import mysql.connector | |
| from mysql.connector import errorcode | |
| config = { | |
| 'user': 'root', | |
| 'password': '', | |
| 'host': 'localhost', | |
| 'database': 'acme' | |
| } |
| import mysql.connector | |
| from mysql.connector import errorcode | |
| config = { | |
| 'user': 'root', | |
| 'password': '', | |
| 'host': 'localhost', | |
| 'database': 'acme' | |
| } |
clone -> bring a repo down from the internet (remote repository like Github) to your local machineadd -> track your files and changes with Gitcommit -> save your changes into Gitpush -> push your changes to your remote repo on Github (or another website)pull -> pull changes down from the remote repo to your local machine