Starter kit to start coding web-AI apps with Python and Django in as few steps as possible. (WIP)
To run this project, you need to have the following installed on your system:
- Clone the repository:
git clone https://github.com/letam/python-django-app-starter.git
- Navigate to the project directory:
cd python-django-app-starter.git
- Install project dependencies:
python install
- Activate the virtual environment:
-
For Windows:
.venv\Scripts\activate
-
For Mac or Linux:
. .venv/bin/activate
- Start the Django app development server:
python src/manage.py runserver
-
Visit the website at http://localhost:8000.
-
Start hacking/building code:
- To edit backend/server code, edit
src/web/views.py
. Note that the development server restarts automatically when changes are saved to disk. - To edit frontend/web code, edit
src/web/templates/index.html
. Reload the webpage in the browser to see changes.