mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
ef6eb84921
Snapshot of the dockerisation-era bot code laid out at the repository root so it can be diffed directly against the working-copy baseline (restructure/working-copy-root) to see how the variant differed: - thin_client.py asyncio entrypoint (vs working_copy bot.py) - constants.py env-var/credential refactor, communication auth, etc. - extra gpt_interface/ service, sync.py, watch_script_params.py - conanjurer_* modules absent in this variant Docker infrastructure (docker/, docker-compose.yml, .dockerignore) intentionally omitted - this branch is for code comparison only and is not intended to be merged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 lines
395 B
Python
15 lines
395 B
Python
from flask import Flask
|
|
from file_serv import bp as uploader_bp
|
|
from ingest import bp as ingest_bp
|
|
from waitress import serve
|
|
|
|
app = Flask(__name__)
|
|
HOST_ADDRESS = "127.0.0.1"
|
|
PORT_ADDRESS = 49151
|
|
|
|
if __name__ == "__main__":
|
|
app.register_blueprint(uploader_bp, url_prefix="/api")
|
|
app.register_blueprint(ingest_bp, url_prefix="/api")
|
|
|
|
serve(app, host=HOST_ADDRESS, port=PORT_ADDRESS)
|