https://github.com/varadbhogayata/flask-blog
Blog website using Flask Backend
https://github.com/varadbhogayata/flask-blog
css flask heroku html5 javascript jinja2 postgre python sqlalchemy
Last synced: about 1 year ago
JSON representation
Blog website using Flask Backend
- Host: GitHub
- URL: https://github.com/varadbhogayata/flask-blog
- Owner: varadbhogayata
- Created: 2020-05-29T14:40:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-02T19:15:23.000Z (about 3 years ago)
- Last Synced: 2025-03-23T01:01:41.555Z (over 1 year ago)
- Topics: css, flask, heroku, html5, javascript, jinja2, postgre, python, sqlalchemy
- Language: JavaScript
- Homepage: https://flask-heroku-blog.herokuapp.com/
- Size: 14.9 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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/