--> Clone the repository using the command below :
git clone https://github.com/TadekDev/Django-AI-site.git
--> Move into the directory where we have the project files :
cd Django-AI-site
--> Create a virtual environment :
# Let's install virtualenv first
pip install virtualenv
# Then we create our virtual environment
virtualenv venv
--> Activate the virtual environment :
# Windows
venv\scripts\activate
# Linux
source venv/bin/activate
--> Install the requirements :
pip install -r requirements.txt
--> Create a file named .env in the root of the project and specify the necessary environment variables:
API_KEY = 'Your key' # The key from https://openai.com
SECRET_KEY = 'Django key'
python manage.py migrate
--> To run the App, we use :
python manage.py runserver
Open a web browser and go to http://localhost:8000/ to view the site.
On the main page, you can select a programming language and enter a code to get its patch.
In the "Previous codes" section, you can view the history of entered codes and their corrections.
In the "Code explanation" section, you can enter the code and get an explanation of its operation.
If you want to contribute to the project, please create a separate branch and submit a pull request with your suggestions.
Me :)