This python-flask blog application was created on the 13/03/2022
By IAN OTIENO
This is a python-flask Blog Application where users can see various blogs posted by bloggers and are able to subscribe to recieve notifications on recent posts. The bloggers can sign up for blogging
Click on the link below to view the site:https://ianoblogging.herokuapp.com/
These are the behaviours/features that the application implements for use by a user and writer.
- User opens the application
- The user sees various blogs posted by bloggers
- The user comments on the blog
- users can subscribe to recieve notifications about new posts
- Blogger/witer logs in into the application
- Sees the comments postes by other users
- The writer deletes comments found offensive
- The writer updates varoius posts
- The writer can delete various posts
- The writers can Upload their profile photos and update thier bio
Behaviour | Input | Output |
---|---|---|
users loads the application | On page load | user sees various posts/blogs posted by bloggers |
user clicks on comment button | On click | comment page is loaded and user sees various comments and can add more comments |
user clicks on subscribe button | on click | subscription page is loaded and user enters details for subscription |
writer cllicks on sign up | On page load | sign up page is loaded and user can sign up to be a blogger |
writer clicks on crete blog | on page load | user is able to create blog on when the page loads |
writes clicks on edit post | edit page is loaded | user is able to update the blog |
writer clicks on delete post | on page load | the post is deleted |
writer clicks on delete comment | on page load | the comment is deleted |
writer clicks on profile | on page load | the writer add profile adds profile infoemation and uploads a profile photo |
- Python3.8
- Clone this repository using the following commamnd in the terminal:
git clone https://github.com/ian-otieno/Blog-Post.git
. - Note:You will need to git installed in your machine. You can install using the following command:
$ sudo apt-get install git.
- After cloning, use command cd Blog-Post.git and open using your code editor.
- Create a vitual environment using the following command
python3 -m venv --without-pip virtual
- Activate the virtual environment using the following command
. virtual/bin/activate
- Run this command to interact with the application
$python3.8 manage.py server
- Run tests units using the this command
$python3.8 manage.py test
No known bugs
- Python3.8
- Flask
- Heroku