shop
a shopping Django project. This site was created for the purpose of selling goods and has features such as displaying goods in categories, searching by product name, comment system, sending comments and suggestions to the admin, adding the desired number of goods to the cart, applying a discount code and check out.
Setup
The first thing to do is to clone the repository:
$ git clone https://github.com/HamedMirzaeiOfficial/shop.git
Create a virtual environment to install dependencies in and activate it:
$ virtualenv2 --no-site-packages env
$ source env/bin/activate
Then install the dependencies:
(env)$ pip install -r requirements.txt
Note the (env)
in front of the prompt. This indicates that this terminal
session operates in a virtual environment set up by virtualenv2
.
Once pip
has finished downloading the dependencies:
(env)$ python manage.py runserver
And navigate to http://127.0.0.1:8000
.