Inspired by nulzo - Ollama WebUI
BS-LLM-WebUI is a web application with a frontend built using React and Vite, and a backend powered by Django with a Poetry-managed virtual environment.
- Node.js: Make sure you have Node.js installed to manage frontend dependencies.
- Python: Ensure that Python 3.11+ is installed for running the Django backend.
- Poetry: Make sure you have Poetry installed to manage Python dependencies.
- Ollama: Ensure you have Ollama installed on your machine, or a machine on your local network.
docker compose up --build
cd frontend
npm install
npm run dev
This will start the Vite development server, and you should be able to access the frontend at http://localhost:5173
by default.
cd backend
poetry install
poetry run python manage.py migrate
poetry run python manage.py createsuperuser
poetry run python manage.py runserver
This will start the Django development server, which will be accessible at http://localhost:8000
by default.
To run the application, start both the frontend and backend servers as described above:
- Start the Vite development server in the frontend directory.
- Start the Django development server in the backend directory.
The frontend React application will communicate with the Django backend via API calls.
This project is licensed under the MIT License. See the LICENSE file for details.