This blog is the CIS 245 Project at University of the Fraser Valley.
https://techtalks-blog.herokuapp.com/
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Whenever running this project on the different system, please delete the previous virtual environment (venv) and create the new one.
What things you need to install the software and how to install them
Python 3.6 and later
Linux OS such as CentOS, Ubuntu, Linux Mint
Visual Studio Code (optional for editor)
In terminal, create python3 virtual environment
$ python3 -m venv venv
And activate virtual environment
$ source venv/bin/activate
Once the virtual environment is activated, install all the modules and dependencies for this project
(venv) $ pip install -r requirments.txt
There is no need to run database migration again. In order to run this program: Export this app and make sure you are in the socialblog directory:
(venv) $ cd socialblog/
(venv) /socialblog $ export FLASK_APP=app.py
then type
(venv) /socialblog $ flask run
The Website can be deployed in Docker container for production. In order to run the container, please type
$ sudo docker-compose up
- Python 3 - The programming language
- PIP - Dependency ManagementT
- FLask - The web framework used
- Boostrap - Front end
- Flask
- Flask WTForm
- Flask Login
- FLASK SQLAlchemy
- PILLOW - for uploading picture
- Flask Upload
- Flask Mail - for sending email
- FLASK Dance (Google Authentication)
- Stripe - for payment
- Database: SQLlite
- Boostrap Temeplate
- Version 1.0
- Hieu Le
In order to test the donation, please use the testing visa card
- Visa Card - 4242 4242 4242 4242 For more testing cards, please visit Stripe Documentation
In order to see the admin page, please login with this account:
- Email: admin@ourdrives.com
- Password: P@ssw0rd and then go to http://127.0.0.1:5000/admin
This project is licensed under the MIT License - see the LICENSE file for details
Inspired by:
- Miguel Grinberg Flask Mega Tutorial
- Corey Schafer Flask Tutorials
- Bootstrap theme from: https://startbootstrap.com