django-app
template gives you a full-stack Web App built with Django and Postgres
Create a virtual environment
Install phidata
Install docker
Export your OpenAI key
django-app
template pre-configured with Django and PostgreSQL
django-app
with the following structure:
OPENAI_API_KEY
as an environment variable. You can get one from OpenAI.
chat
chat/views.py
file to
urls.py
in the chat folder:
app/urls.py
file to:
chat/templates/chat
folder.
phi ws restart dev:docker:app -y