Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nithinmurali/py-assignment
https://github.com/nithinmurali/py-assignment
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nithinmurali/py-assignment
- Owner: nithinmurali
- Created: 2019-06-27T05:46:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:49:20.000Z (about 2 years ago)
- Last Synced: 2024-11-01T05:23:07.373Z (2 months ago)
- Language: Python
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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
```