Skip to content

AITopDEV/Chatty-AI_Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatty A.I.

home_page

Cloning the repository

--> 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

Set the project:

--> 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'

Apply migrations to the database:

python manage.py migrate

Running the App

--> To run the App, we use :

python manage.py runserver

Open a web browser and go to http://localhost:8000/ to view the site.

Using

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.

Making contributions

If you want to contribute to the project, please create a separate branch and submit a pull request with your suggestions.

The authors

Me :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published