Contributors: Andrew Krasuski, Matthew Quijano, Sean Clifford, Roland Van Duine
Cyber Tutor is a proof-of-concept learning web-application with the goal of raising cybersecurity awareness among the general populous, leveraging artificial intelligence (Google Gemini) to provide a personalized learning experience.
We utilize LangChain to enhance the quality of AI content by sourcing the LLM's knowledge off of sources vetted by our team and professor.
Since our project uses Django 5.0, Python 3.10 or later is required for installation.
In Visual Studio Code:
- Clone the GitHub repository
- Create, and activate, a virutal environment
sudo apt-get install python3-venv python3 -m venv .venv source .venv/bin/activatepython3 -m venv .venv source .venv/bin/activatepy -3 -m venv .venv .venv\scripts\activate - Select interpreter:
- CTRL + SHIFT + P
- Select: Python: Select Interpreter
- Select: Interpreter path that starts with
./.venvor.\.venv
- Install project dependencies:
pip install -r requirements.txt- Set up .env file
- Create .env file in root, where manage.py is located
-
SECRET_KEY = 'STEP 6' GEMINI_API_KEY = '' POSTGRES_PASSWORD = '' AWS_ENDPOINT_URL = ''
- Generate your SECRET_KEY
- CTRL + SHIFT + `
-
python
-
from django.core.management.utils import get_random_secret_key print(get_random_secret_key()) - Copy, and paste that into your .env, where you see 'STEP 6'
- Apply migrations to the database
python manage.py migrate- Run the development server:
python manage.py runserver
