Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yashsahsani/greencart

Ecommerce Website to Sell Green Items
https://github.com/yashsahsani/greencart

css css3 django django-application django-framework django-project django-rest-framework django2 forms forms-validation html python python3 render stripe stripe-payments tailwindcss tailwindui ui ui-design

Last synced: 3 days ago
JSON representation

Ecommerce Website to Sell Green Items

Awesome Lists containing this project

README

        

# GreenCart

[![forthebadge made-with-python](https://forthebadge.com/images/badges/made-with-python.svg)](https://www.python.org/)

## Prerequisites
- Python
- Git

## Installation

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

### Install Virtual Env

```bash
$ pip install virtualenv
$ virtualenv venv
```

### OR

```bash
$ python3 -m venv venv # create virtual enviroment
```

### For Mac/ Linux

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

### For Windows

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

### Migrations

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

### For Adding initial data
```bash
$ python manage.py loaddata data.json

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

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