Skip to content

konerjonlar/Drf-Library

Repository files navigation

Rest Api Project

Powered by Django.
Code style: black Imports: isort

Installation

The first thing to do is to clone the repository:

git clone https://github.com/konerjonlar/drf-rest-api/
cd drf-rest-api

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

python3 -m venv venvName
source venvName/bin/activate

Then install the dependencies:

(env)$ pip install poetry
(env)$ poetry install

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

Once pip has finished downloading the dependencies:

(env)$ cd muni
(env)$ python manage.py runserver

And navigate to http://127.0.0.1:8000/.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages