Online Store
A template for an online store with fixtures for project testing. Project Setup Guide
- Install Dependencies
First, install Poetry if you don't have it already: bash
pip install poetry
Activate the virtual environment: bash
poetry shell
Install all project dependencies: bash
poetry install
- Set Up the Repository
Install Git (if not installed): bash
sudo apt install git
Initialize a Git repository and clone the project: bash
git init git clone <Your_Repository_URL>
Navigate to the project directory: bash
cd diploma
- Configure Data and Database
Load the initial data fixtures: bash
python manage.py loaddata fixtures/main_data.json
Apply Django migrations: bash
python manage.py migrate
- Install and Configure the Frontend
Install the frontend package: bash
pip install diploma-frontend-0.6_corrected.tar.gz
- Run the Project
Start the development server: bash
python manage.py runserver
Your project is now running and accessible at http://127.0.0.1:8000/. ```
Теперь ваш проект запущен и доступен по адресу http://127.0.0.1:8000/.