Git Product home page Git Product logo

blog's Introduction

Blog

Built By Ian Sani

Description

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.

User Stories

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.

Blogger Abilities

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.

Specifications

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

SetUp / Installation Requirements

Prerequisites

  • python3.6
  • pip
  • virtualenv
  • Requirements.txt

Cloning

  • In your terminal:

      $ git clone https://github.com/IanSani/Blog/
      $ cd Blog
    

Running the Application

  • 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
    

Testing the Application

  • To run the tests for the class files:

      $ python3.6 manage.py test
    

Technologies Used

  • Python3.6
  • Flask

License

The application is under MIT License

Copyright (c) 2018 Ian Sani

blog's People

Contributors

iansani avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.