Skip to content

Web application that is meant for users to add pitches on 7 different categories

License

Notifications You must be signed in to change notification settings

DevWaweru/PitchIt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pitch It is a web application that is meant for users to add pitches on 7 different categories

May 18th, 2018

Description

The Pitch It web application is meant for users to post pitches on any of the 7 different categories. These categories are:

1. Interview Pitch
2. Product Pitch
3. Promotion Pitch
4. Business
5. Academic
6. Political
7. Technology
8. Health

A user can select any of the categories from the navbar to view the pitches on these categories

Other users can give feedback to the pitch posts by commenting, liking or disliking the pitch.

Specifications

Get the specs here

Set-up and Installation

Prerequiites

- Python 3.6
- Ubuntu software

Clone the Repo

Run the following command on the terminal: git clone https://github.com/DevWaweru/PitchIt.git && cd PitchIt

Install Postgres

Create a Virtual Environment

Run the following commands in the same terminal: sudo apt-get install python3.6-venv python3.6 -m venv virtual source virtual/bin/activate

Install dependancies

Install dependancies that will create an environment for the app to run pip3 install -r requirements

Prepare environment variables

export DATABASE_URL='postgresql+psycopg2://username:password@localhost/pitchit'
export SECRET_KEY='Your secret key'

Run Database Migrations

python manage.py db init
python manage.py db migrate -m "initial migration"
python manage.py db upgrade

Running the app in development

In the same terminal type: python3 manage.py server

Open the browser on http://localhost:5000/

Known bugs

SQLAlchemy errors, automatic sign out has a short time span

Technologies used

- Python 3.6
- HTML
- Bootstrap 4
- JavaScript
- Heroku
- Postgresql

Support and contact details

Contact me on developer.waweru@gmail.com for any comments, reviews or advice.

License

Copyright (c) Richard Waweru

About

Web application that is meant for users to add pitches on 7 different categories

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published