These instructions will guide you through setting up your project locally. To get a local copy up and running follow these simple steps.
Before you begin, ensure you have met the following requirements:
- Python 3.11 installed on your machine
- pip (Python package manager)
- Virtual environment (optional but recommended)
- Clone the repository
git clone https://github.com/malinanu/labela_backend_assignment.git
cd labela_backend_assignment
- Set up a Python virtual environment
python -m venv venv
- On Windows, activate the virtual environment with:
.\venv\Scripts\activate
- On Unix or MacOS, activate the virtual environment with:
source venv/bin/activate
- Install the requirements
pip install -r requirements.txt
- Apply the migrations
python manage.py migrate
- Create a superuser account for Django admin
python manage.py createsuperuser
- To run the Django development server
python manage.py runserver