This repository contains a project developed with Python3 ❤️ with a blueprint that describe the necessary endpoints to meet the engineering goals.
This instructions should be enough to replicate the development enviroment of this project. If this is not the case, please, feel free to open a pull request.
After cloning the project, you will need Python 3.5.
python3 -m venv /path/to/new/virtual/environment
source venv/bin/activate
pip install -r requirements.txt
To successfully set up the project, a json file is needed. This file should be in path described in the enviroment variable CONFIG_FILE_PATH.
Besides that, all of the project's dependencies should be added with the AppInfo
's method register_resource
. This method should receive a function that returns True
or False
depending on the dependency's health.
If all goes right, you should be run the run.py
file inside the samples folder.
Unit tests:
nosetests tests/unit
Coverage:
nosetests --with-coverage --cover-package=flask_management_blueprint
Python 3.5.2
Build with ❤️ by Team Satisfação do Cliente!
Copyright (C) 2018. Stone Pagamentos. All rights reserved.