Skip to content

DiZiNnEs/tz-shop

Repository files navigation

tz-shop

About

Rest API for shop

Requirements:

  1. Python 3.9.5 (Installation guide)
  2. Installed pip (Installation guide)
  3. Installed pipenv (command to install: pip install pipenv)
  4. Installed git (Installation guide)

Installation

The first thing to do is to clone the repository:

$ git clone https://github.com/DiZiNnEs/tz-shop
$ cd tz-shop

Create a virtual environment to install dependencies in and activate it:

$ pipenv install
$ pipenv shell

Then install the dependencies:

(env)$ pipenv install -all

Note the (env) in front of the prompt. This indicates that this terminal session operates in a virtual environment set up by pipenv.

Once pip has finished downloading the dependencies:

(env)$ python manage.py migrate
(env)$ python manage.py createsuperuser
(env)$ python manage.py runserver

And navigate to http://127.0.0.1:8000/ (the page will be empty no big deal keep reading).

Admin panel http://127.0.0.1:8000/admin and enter the name with the superuser password created earlier.

Next, create the data you need in the admin panel.

About

Shop on Django and RESTful API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published