JOFLIX / pitch

Share your great ideas in a minute

Home Page:https://pitcherz.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moringa Pitch

Description

Moringapitch is a flask application providing access to users undertook allowing users to also pitch project ideas to be viewed by other users

Author

-Joflix

Setup/Installation Requirements

Prerequisites

  • python3.6 and above
  • pip
  • Virtual environment(virtualenv)

Cloning and running

  • Clone the application using git clone(this copies the app onto your device). In terminal:

        `git clone https://github.com/IJaccojwang/moringapitch/`
         `cd moringapitch`
    
  • 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

        `python3.6 -m pip install Flask`
        `python3.6 -m pip install Flask-Bootstrap`
        `python3.6 -m pip install Flask-Script`
        `python3.6 -m pip install -r requirements.txt`
    
  • Run the application:

        `chmod a+x start.sh`
        `./start.sh`
    

Testing the Application

  • To run the tests for the class files:

        `python3.6 manage.py test`
    

Technologies Used

* Python 3.6
* Flask
* Postgresql
* MDBootstrap

Behaviour driven development/ Specifications

Behaviour Sample Input Sample Output
Display landing page with pitches categorised according to team Link to live site The landing page is displayed
Display all projects for a selected team Click on 'view projects' button projects for the selected team displayed
View details of pitch, including comments of the pitch Click on 'view more' button Display project description and comments
Prompt user to login Click on 'sign in'/'add comment'/'add pitch' button Display login form
Authenticate user to add a Pitch and comment If user has no account a sign up form is displayed User is automatically logged in and free to add pitch/comment
Allow user to log out Click on 'logout' button User is automatically logged out

Link to live site

Here is a link to the live site

Support and contact details

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT License Copyright (c) {2019}

About

Share your great ideas in a minute

https://pitcherz.herokuapp.com/


Languages

Language:Python 96.8%Language:HTML 1.4%Language:JavaScript 0.9%Language:CSS 0.5%Language:C 0.3%Language:Mako 0.1%Language:C++ 0.0%Language:Shell 0.0%