/pitch

this is a website that enables one to view pitches of a project and sign upto create an account and add comments

Primary LanguagePython

Pitch App

An appplication proprogram that enables oe to to view pitches for varous ideas and one can log into them

22/4/2019

By Wambita

Description

This is an app that allows one to login and submit pitches, comment and like other pitches.

Link to live site

https://Wambita-pitch-app.herokuapp.com/

Setup/Installation Requirements

Technologies Used

  • HTML
  • CSS
  • Flask-Bootstrap4
  • Python3.6
  • Heroku
  • Flask

Clone the repo and checkout into the project folder.

  • git clone https://github.com/Wambita/pitch.git
  • cd pitch-app

Create and activate the virtual environment

  • python3.6 -m venv virtual
  • source virtual/bin/activate

Setting up environment variables

Create a 'start.sh' file and paste the following where appropriate:

  • export SECRET_KEY='<secret_key>'
  • export MAIL_USERNAME='<username>'
  • export MAIL_PASSWORD='<password>'
  • python3.6 manage.py server

Install the dependencies

Install dependancies that will create an environment for the app to run.

  • pip install -r requirements.txt

Make the file executable

  • chmod a+x start.sh

Open the file in the terminal

  • ./start.sh

License

Copyright (c) 2018 Wambita

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.