Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 20 hours 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T23:15:13.000Z (over 1 year ago)
- Last Synced: 2023-03-05T19:13:22.669Z (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: 7
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
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/