Python onboarding code task.
In order to run the server, make sure you have Pipenv
installed.
-
Clone the repository:
git clone https://github.com/lzaga-newrelic/messages.git
-
Work on virtual library:
pipenv shell
-
Install packages:
pipenv install
-
Run the server:
pipenv run python main.py
In order to run the tests, do the following steps:
pytest test_model.py