Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (21 loc) · 621 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 621 Bytes

How to install modules dependencies and make things work !

  • virtualenv -p `which python3` venv

  • . ./venv/bin/activate

  • pip install -r requirements.txt

  • python ./app.py

  • You can override some settings through the command-line

    • EXPOSED_ADDRESS: Address to register to consul for health check and remote services Default: 127.0.0.1
    • CONSUL_ADDRESS: Address used to contact consul Agent Default: 127.0.0.1
    • APP_NAME: Name of service Default: app

Stack

  • Flask
  • Flask-Cors
  • Flask-SQLAlchemy
  • Flask-JWT
  • SQLAlchemy
  • mysqlclient
  • Tornado
  • python-consul