Skip to content

CodeWithClinton/django-roadmap-generator

Repository files navigation

Roadmap Generator - Django + OpenAI

This is a Django-based application I built as my final year project while in school, that generates roadmaps using OpenAI's powerful language model.

Prerequisites

Before running this application, ensure you have the following installed:

  • Python 3.6+
  • Django
  • OpenAI Python library

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/CodeWithClinton/django-roadmap-generator.git
  1. Create and activate your virtual environment

    pip install virtualenvwrapper-win
    mkvirtualenv venv
  2. Navigate into the project directory:

cd personalized_learning
  1. Install dependencies:
   pip install -r requirements.txt

Configuration

Obtain an API key from OpenAI by signing up at https://openai.com.
Once you have your API key, create a .env file in the root directory of the project.
Add your OpenAI API key to the .env file:

OPENAI_API_KEY=your_openai_api_key

Running the Application

  1. Apply Migrations
python manage.py migrate
  1. Run Development Server
python manage.py runserver

Visit http://127.0.0.1:8000/ in your web browser to access the application.

About

This is the making of my final year project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published