Skip to content

JosephBless/flask-blog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog built using Flask

  • FrontEnd: HTML, CSS, Bootstrap
  • Database: Postgresql (both local and deployment -- Heroku)

How to run the application locally?

  • Change parameters, information in info.json file.
  • Setup postgresql client on your machine.
  • Create local database and replace the name of db with your db name in blog.py :
database_url = os.getenv(
    'DATABASE_URL',
    default='postgresql://postgres:12345@localhost:5432/your-db-name',
)
  • Run blog.py file.

How to deploy the app on Heroku?

  • Create new app on Heroku.
  • Link the app to GitHub Repository.
  • Manually Create Postgres instance.
  • Push the changes to Heroku Remote.

Blog Link

https://flask-heroku-blog.herokuapp.com/

About

Blog website using Flask Backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.9%
  • HTML 27.1%
  • CSS 11.4%
  • Python 8.6%