E-Commerce Project For Baby Tools
Table of Contents
Introduction
This is a README description of our Baby-Tools-Project. The Baby-Tools-Project is an online shop for baby tools and baby clothes.
Prerequisites
To deploy your Baby-Tools-Shop, you need the following:
- VServer with Ubuntu
- Python 3.9
- Docker
Quickstart
Clone Github Repository
- Clone the following Github Repository on your VServer.
https://github.com/HerzogElias/baby-tools-shop/
Build Docker Image
- Build your Docker image
docker build -t babyshop_app ./babyshop_app/
- Run your built Docker image
docker run -it --rm --name babytoolsshop -p 8025:8000 babyshop_app
Usage
Creating Superuser
- Go to Docker exec in your Docker container with
docker exec <container-id> /bin/bash
- Create a new superuser for Django Admin Panel:
python manage.py createsuperuser
Add a username and a secure password and save.
- Navigate to Django Admin Panel and log in with your created superuser account.
<localhost>/admin
Hints
This section will cover some hot tips when trying to interact with this repository:
- Settings & Configuration for Django can be found in
babyshop_app/babyshop/settings.py - Routing: Routing information, such as available routes can be found from any
urls.pyfile inbabyshop_appand corresponding subdirectories
Photos
Home Page with login
Home Page with filter
Product Detail Page
Home Page with no login
Register Page