https://github.com/brianlusina/hadithi
African Short Stories website
https://github.com/brianlusina/hadithi
blog flask story
Last synced: 5 months ago
JSON representation
African Short Stories website
- Host: GitHub
- URL: https://github.com/brianlusina/hadithi
- Owner: BrianLusina
- Created: 2016-05-28T14:24:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-05-28T16:52:17.000Z (about 2 years ago)
- Last Synced: 2024-05-29T07:57:14.481Z (about 2 years ago)
- Topics: blog, flask, story
- Language: Python
- Homepage: https://hadithi.herokuapp.com/
- Size: 4.19 MB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Hadithi
[](https://www.codacy.com/app/BrianLusina/Hadithi?utm_source=github.com&utm_medium=referral&utm_content=BrianLusina/Hadithi&utm_campaign=badger)
[](https://www.codacy.com/app/BrianLusina/Hadithi?utm_source=github.com&utm_medium=referral&utm_content=BrianLusina/Hadithi&utm_campaign=Badge_Coverage)
[](https://travis-ci.org/BrianLusina/Hadithi)
[](https://circleci.com/gh/BrianLusina/Hadithi)
[](https://codecov.io/gh/BrianLusina/Hadithi)
This is a website featuring some of Africa's best short stories titled Hadithi. The site has a sample of 10 short stories and allows the user the ability to share each story on social media. Even make a comment on each story.
Technologies used:
+ flask python framework
+ HTML/CSS
+ JavaScript jQuery library
## setup with Heroku
Run this in terminal:
``` sh
$ heroku addons:add heroku-postgresql:hobby-dev
```
Setup DATABASE_URL variable
``` sh
$ heroku pg:promote HEROKU_POSTGRESQL__URL
```
Initialize the database locally
``` sh
$ python manage.py create_db
```
> this will initialize the application's db with Postgres
Initialize the db on Heroku
``` sh
$ heroku run python manage.py create_db
```
> creates an initial db on Heroku