The system pairs a user with a deficiency in a certain skill with another user that is competent in that skill
-
Make sure you have python3 and pip3 installed
-
Clone this project folder
-
Create a venv inside the project folder
-
install dependencies in the requirements.txt file using pip
-
run using python flaskblog.py
-
Install python3 from https://www.python.org/downloads/windows/
-
Add python and pip3 to path https://datatofish.com/add-python-to-windows-path/
-
pip3 comes with python3 installation
-
open cmd and go to project folder and run the following commands
-
python -m venv env
-
env\Scripts\activate.bat
-
pip install -r requirements.txt
-
add the following to windows environmental variables (same way as in step 2)
- variable name: SECRET_KEY , value: 6367bd0b7d25c57d19b2f68a79897059 (or generate your own)
- variable name: SQLALCHEMY_DATABASE_URI , value: sqlite:///site.db?check_same_thread=False
-
create the database https://flask-sqlalchemy.palletsprojects.com/en/2.x/quickstart/ ( import app from peer_rec_sys and do app.app_context().push() before db.create_all(), import db from peer_rec_sys.models )
-
enter command python run.py
-
to deactivate venv type deactivate on cmd