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
Run this in terminal:
$ heroku addons:add heroku-postgresql:hobby-dev
Setup DATABASE_URL variable
$ heroku pg:promote HEROKU_POSTGRESQL_<COLOR>_URL
Initialize the database locally
$ python manage.py create_db
this will initialize the application's db with Postgres
Initialize the db on Heroku
$ heroku run python manage.py create_db
creates an initial db on Heroku