Shopry is an online shopping app with admin privilages. Customers can login, signup on this portal and can add or remove items from the cart and also place order. They can also edit their profile.
Python 3.6 And additional requirements are in requirements.txt and will be installed through the below steps
- Download and install python 3.6 and git
- Go to
https://github.com/shryagpta/Shopryand click onFork - You will be redirected to your fork,
https://github.com/<yourname>/Shopry - Clone using
$ git clone https://github.com/<yourname>/Shopry
-
Install virtualenv
- on Ubuntu:
$ sudo apt install python-virtualenv - on Windows Powershell
$ pip install virtualenv
- on Ubuntu:
-
Create a virtual environment
- on Ubuntu:
$ virtualenv env -p python3.6 - on Windows:
$ virtualenv env
- on Ubuntu:
-
Activate the env:
- on Ubuntu:
$ source env/bin/activate - on Windows:
$ ./env/scripts/activate
- on Ubuntu:
-
Install the requirements:
$ pip install -r requirements.txt -
Make migrations
$ python manage.py makemigrations -
Migrate the changes to the database
$ python manage.py migrate -
Run the server
$ python manage.py runserver