First, make sure all dependencies for the frontend are met by running npm install
in the project's root. Afterwards,
build all the static files by running npm run dev
(yes, we are currently using the development configuration).
After these steps, you should have your staticfiles ready for serving. The django / python part also needs some
dependencies which are located in the requirements.txt file. Just install them all using pip install -r ./requirements.txt
.
Afterwards, you can start the development server using python manage.py runserver
.
- Python >= 3.9
- NPM >= 6.0.0
- Node >= v12.0.0
- All required python packages are listed in the requirements.txt file
In order to generate responses using GPT-3, an environment variable called OPENAI_API_KEY
has to created, which stores
your API key. It wil be automatically loaded as soon as it's needed.