This is an online store built using Django 5, Tailwind CSS, and Alpine.js.
- Prerequisites
- Installation
- Run the application
- View the application
- Add data to the application
- Copyright and License
Install the following prerequisites:
- Python 3.10-3.12
This project uses Django v5.0.2. For Django to work, you must install a correct version of Python on your machine. More information here. - Node.js
- Visual Studio Code
From the root directory, run:
python -m venv venv
From the root directory, run:
On macOS:
source venv/bin/activate
On Windows:
venv\scripts\activate
From the root directory, run:
pip install -r requirements.txt
From the root directory, run:
python manage.py makemigrations
python manage.py migrate
From the root directory, run:
python manage.py createsuperuser
When prompted, enter a username, email, and password.
From the root directory, run:
npm install
From the root directory, run:
python manage.py runserver
Go to http://127.0.0.1:8000/ to view the application.
Add data through Django Admin.
Go to http://127.0.0.1:8000/admin to access the Django Admin interface and sign in using the admin credentials.
Copyright © 2024 Bob's Programming Academy. Code released under the MIT license.