Sign inSign up

annany/fyle-intern-assignment

By annany

•Updated about 2 years ago

Backend Intern Assignment for Fyle

Image
0

817

annany/fyle-intern-assignment repository overview

⁠Fyle Backend Intern Assignment

⁠This project provides a Dockerized environment for running the Fyle Backend Intern Assignment.

⁠Getting Started

  • Pull the Image

    docker pull annany/fyle-intern-assignment

  • Run the Container

    docker run -it -p your_port:7755 --entrypoint /bin/bash/ annany/fyle-intern-assignment

    • Replace your_port with the desired port number on your host machine.
  • Install Requirements (Inside the container)

    pip install -r requirements.txt

  • Run the following commands to reset the Database

    virtualenv env --python=python3.8

    source env/bin/activate

    pip install -r requirements.txt

  • Run the tests

    pytest -vvv -s tests/

  • For test coverage report

    pytest --cov

Tag summary

Content type

Image

Digest

sha256:9c9e38861…

Size

78.7 MB

Last updated

about 2 years ago

docker pull annany/fyle-intern-assignment