This is an online marketplace application built with Django. It allows users to register, log in, browse products, add items to their cart, apply discount codes, and checkout.
Clone the repository:
git clone https://github.com/mkumm14/online-marketplace-g1.git
cd online-marketplace-g1
Build and run the Docker containers:
docker-compose -f docker-compose.dev.yml up --build
Run migrations and collect static files:
docker-compose exec web python manage.py migrate
docker-compose exec web python manage.py collectstatic --noinput
Create a superuser:
docker-compose exec web python manage.py createsuperuser
Clone the repository:
git clone https://github.com/mkumm14/online-marketplace-g1.git
cd online-marketplace-g1
Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
Install the dependencies:
pip install -r requirements.txt
Set up the database:
python manage.py migrate
Collect static files:
python manage.py collectstatic --noinput
Create a superuser:
python manage.py createsuperuser
Run the development server:
python manage.py runserver
http://localhost:1337
if using docker.http://127.0.0.1:8000/
.