Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nithinmurali/py-assignment


https://github.com/nithinmurali/py-assignment

Last synced: 18 days ago
JSON representation

Awesome Lists containing this project

README

        

# Python assignment

[![codecov](https://codecov.io/gh/nithinmurali/py-assignment/branch/master/graph/badge.svg?token=lvSyyYICy3)](https://codecov.io/gh/nithinmurali/py-assignment)

## Requirements
python 3.6+

## Installation

Clone the repository
```
git clone [email protected]:nithinmurali/py-assignment.git
cd py-assignment
```

Install all the requirements (preferably in a virtual env)
```
pip install -r requirements.txt
```

Then create the configuration file (`.env`) and fill values.

```
cp sample.env .env
```

Now apply the migrations and run the server.

```
python manage.py migrate
python manage.py runserver 8080
```

## Testing

Run the tests using

```
pytest --cov-report term
```