This is a project on a python language to implement the a one minute life-changing pitch. A kind of life changing quotes.
Tuesday November 9 2021
This is an application that will help the user with a list of pitches. In life, we only have 60 seconds to impress someone. 1 minute can make or break anyone.
With this app, a user is able to:
- See the pitches other people have posted.
- Vote on the pitch they liked and give it a downvote or upvote.
- Be signed in for me to leave a comment
- Beceive a welcoming email once I sign up.
- View the pitches I have created in my profile page.
- Comment on the different pitches and leave feedback.
- Submit a pitch in any category.
- View the different categories.
- This is the live link to the repo
- This is the live link to the app
-
Create a virtual environment in your project directory through the terminal with the command:
$ python3.9 -m venv --without-pip virtual
-
Activate the virtual environment:
$ source virtual/bin/activate
-
Install pip for installing other necessary python packages:
$ curl https://bootstrap.pypa.io/get-pip.py | python
-
Install flask module:
$ pip install flask
-
Clone the program from the online repo
-
Click on the code button to clone or download
|-That-Minute
|-app/
|-auth/
|-__init__.py
|-forms.py
|-views.py
|-main/
|-__init__.py
|-errors.py
|-forms.py
|-views.py
|-static/
|-css/
|-photos/
|-templates/
|-auth/
|-login.html
|-register.html
|-email/
|-welcome_user.html
|-welcome_user.txt
|-profile/
|-profile.html
|-update.html
|-base.html
|-comments.html
|-errors.html
|-filter_pitch.html
|-footer.html
|-index.html
|-macros.html
|-navbar.html
|-new_pitch.html
|-__init__.py
|-email.py
|-models.py
|-migrations/
|-tests/
|-test_comments.py
|-test_downvote.py
|-test_pitch.py
|-test_upvote.py
|-test_user.py
|-virtual/
|-config.py
|-.gitignore
|-LICENSE
|-manage.py
|-Procfile
|-README.md
|-requirements.txt
|-start.sh
$ heroku login
$ heroku create <name-of-app>
$ heroku config:set MAIL_USERNAME=<YOUR EMAIL ADDRESS>
$ heroku config:set MAIL_PASSWORD=<YOUR EMAIL PASSWORD>
$ heroku addons:create heroku-postgresql
$ git push heroku master
$ heroku run python3.9 manage.py db stamp head
$ heroku run python3.9 manage.py db migrate
$ heroku run python3.9 manage.py db upgrade
- Python
- HTML
- CSS
- Bootstrap
- Flask
-
The footer is not yet polished to the required state.
-
Therefore, you can make a pull request to this repo improve it or adjust functionalities.
Contact me omololevy@gmail.com
The project is under MIT LICENSE Copyright © 2021.All rights reserved