The first thing to do is to clone the repository:
git clone https://github.com/AymanRefat/django-shop
cd django-shop
Create a virtual environment to install dependencies in and activate it:
py -m venv env
env/Scripts/activate
Then install the dependencies:
(env)$ pip install -r requirements.txt
Once pip
has finished downloading the dependencies:
(env)$ cd project
(env)$ python manage.py runserver
After starting the server you can ues the app only go to http://127.0.0.1:8000
,
and you will get the Root Page .
To run the tests, cd
into the directory where manage.py
is:
(env)$ python manage.py test