Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 1.29 KB

README.md

File metadata and controls

60 lines (45 loc) · 1.29 KB

NFT-based-warranty-system

A NFT based warranty system for eCommerce

Steps to run locally

  • Clone this repository and launch code:
    https://github.com/RahulGopathi/NFT-based-warranty-system.git
    cd NFT-based-warranty-system
    code .
    

With Docker

Ensure that you have installed Docker (with Docker Compose).

Run the development server: make dev-start

After executing make dev-start, you will be running:

Make database migrations:

make exec
python manage.py makemigrations
python manage.py migrate

Create a superuser:

make exec
python manage.py createsuperuser

View logs of docker containers:

make dev-logs

To stop the development server:

make dev-stop

Without Docker

  • Copy .env.example to .env
cp .env.example .env
  • To start your frontend and backend development server individually:

    Follow the Backend Readme to setup your backend server

    Follow the Frontend Readme to setup the frontend server