"""Run the licensing portal:  python3 -m license_server"""
import os
from .app import create_app

if __name__ == "__main__":
    app = create_app(os.environ.get("BIOSYNC_PORTAL_DB", "license_server/portal.db"))
    app.run(host="127.0.0.1", port=int(os.environ.get("PORT", 8090)), debug=False)
