Skip to content

You can submit your one minute or less pitch and other users will vote on it and leave comments to give their feedback on it.The pitches are organized by category.

License

Notifications You must be signed in to change notification settings

peterken674/pitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Pitcherr

Pitcherr, 2021.

By Peter Kennedy

Description

A Flask powered application where the user can:

  • Post a one minute pitch on any category among the listed.
  • View, like and comment on other people's pitches.
  • Create an account and view own profile.

The site is deployed on Heroku.

Setup/Installation

On your terminal, clone the project.

$ git clone git@github.com:peterken674/pitcher.git

Navigate into the cloned project.

$ cd pitcher

Create a start.sh file.

$ touch start.sh

Inside start.sh, addv the following. The email will be used to send welcome emails to new users who sign up, Gmail is recommended.

#!/bin/sh
export FLASK_ENV=development
export MAIL_USERNAME=<YOUR_EMAIL>
export MAIL_PASSWORD=<EMAIL_PASSWORD>
export SECRET_KEY=<SECRET_KEY>

python3 manage.py server

Create the virtual environment and install the requirements from requirements.txt

$ python3 -m venv virtual
$ . virtual/bin/activate
$ pip install -r requirements.txt

Give the start.sh file execution permissions.

$ chmod a+x start.sh

Run the program.

$ ./start.sh

Known Bugs

  • Sign up redirect to login page sometimes fails but the user is created anyway.

Technologies Used

  • Flask(Python)
  • Jinja2
  • Unittest

Support and contact details

If you have any suggestions, questions or in case of a fire, you can reach the developer via email.

License

License: MIT

Copyright © 2021 peterken674

About

You can submit your one minute or less pitch and other users will vote on it and leave comments to give their feedback on it.The pitches are organized by category.

Topics

Resources

License

Stars

Watchers

Forks