Skip to main content

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

  1. Clone the following Github Repository on your VServer.
    https://github.com/HerzogElias/baby-tools-shop/

Build Docker Image

  1. Build your Docker image
    docker build -t babyshop_app ./babyshop_app/  
  1. Run your built Docker image
    docker run -it --rm --name babytoolsshop -p 8025:8000 babyshop_app

Usage

Creating Superuser

  1. Go to Docker exec in your Docker container with
    docker exec <container-id> /bin/bash
  1. Create a new superuser for Django Admin Panel:
    python manage.py createsuperuser

Add a username and a secure password and save.

  1. 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.py file in babyshop_app and corresponding subdirectories

Photos

Home Page with login
Home Page with filter
Product Detail Page
Home Page with no login
Register Page
Login Page