This is a backend implementation of innometrics. In order to run it, please, follow the steps.
This script will make an environment for the project and install requirements. It will also print environment variables you would need to add to your system.
source $INNOMETRICS_BACKEND_PATH/innometricsenv/bin/activate
python api/app.py
In order to run the app in production environment, please:
- Add
config_proudction.ini
with production config settings - Set INNOMETRICS_PRODUCTION environment variable to True
- Add INNOMETRICS_PRODUCTION_KEYFILE and INNOMETRICS_PRODUCTION_CERTFILE enviroment variables, which should point to location of SSL certificate files
The documentation for rest api is stored in documentation.yaml
.
You can render it using https://editor.swagger.io/