Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.01 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.01 KB

GreenCart

forthebadge made-with-python

Prerequisites

  • Python
  • Git

Installation

$ git clone https://github.com/YashSahsani/GreenCart.git && cd GreenCart

Install Virtual Env

$ pip install virtualenv
$ virtualenv venv

OR

$ python3 -m venv venv # create virtual enviroment

For Mac/ Linux

$ source venv/bin/activate # activate virtual env for Mac and Linux
$ pip install -r requirements.txt

For Windows

$ .\venv\bin\activate # activate virtual env for Windows
$ .\venv\Scripts\activate
$  pip install -r requirements.txt

Migrations

$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver

For Adding initial data

$ python manage.py loaddata data.json

Admin-Email:- [email protected]
Admin-Password:- Admin@123

TestUser-Email:- [email protected]
TestUser-Password:- Test@123