html {
box-sizing: border-box; /* dimension of elements will include the border and padding */
}
*, *::before, *::after {
box-sizing: inherit; /* all elements preset in the Dom & pseudo-elements(::before, ::after) takes value of property from its parent element */
}
h1, h2, h3, h4, h5, h6, p {
- create dump of your localdb
- PGPASSWORD=yourpass pg_dump -Fc --no-acl --no-owner -h localhost -U username localdb_name > mydb.dump
- download file to dropbox and get the link
- change your link from 'https://www.dropbox.com/s/xxx/mydb.dump?dl=0 to 'https://dl.dropboxusercontent.com/s/xxx/mydb.dump'
- push to heroku:
- heroku pg:backups:restore https://dl.dropboxusercontent.com/s/xxx/mydb.dump DATABASE_URL -a yourAppName
- heroku postgres db,
- installed postgres on local,
- nodejs
/db route -> Error error: password authentication failed for user "username"
HOW TO FIX:
###################################### 1) create db user ################################
- sudo -u postgres psql