Built By Ian Sani
an application that allows users to use that one minute wisely. The users will submit their one minute pitches and other users will vote on them and leave comments to give their feedback on them.
These are the behaviours/features that the application implements for use by a user.
As a user I would like to:
- View the blog posts submitted.
- Comment on blog posts.
- View the most recent posts
- Alerted when a new post is made by joining a subscription.
- comment on the different pitches and leave feedback.
These are the behaviours/features that the application implements for use by the writter/Blogger
Bloggers would like to:
- Sign in to the blog
- Create a blog from the application
- Delete comments that I find insulting or degrading
- Update or delete blogs I have created.
Behaviour | Input | Output |
---|---|---|
Writer/Blogger Authentication | On demand | Access Admin dashboard |
Display blogs by most recent | Home page | Clickable links to open all blogs |
Display profile | Click profile page | Redirected to a page with your profile |
Display single blogs | On link click | Blog is displayed with comment ready function plus any comments already stored |
To add a blog | Through Admin dashboard | Redirected to the new blog form collection form |
To edit a blog | Through Admin dashboard | Redirected to the blog form collection form and editing happens |
To delete a blog/comments | Through Admin dashboard and on displays | Bad comments and posts can be deleted |
To subscribe | On button click | Users can subscribe on click |
- python3.6
- pip
- virtualenv
- Requirements.txt
-
In your terminal:
$ git clone https://github.com/IanSani/Blog/ $ cd Blog
-
Creating the virtual environment
$ python3.6 -m venv --without-pip virtual $ source virtual/bin/env $ curl https://bootstrap.pypa.io/get-pip.py | python
-
Installing Flask and other Modules
$ see Requirements.txt
-
To run the application, in your terminal:
$ chmod +x start.sh $ ./start.sh
-
To run the tests for the class files:
$ python3.6 manage.py test
- Python3.6
- Flask
The application is under MIT License
Copyright (c) 2018 Ian Sani