Skip to content

Commit

Permalink
Merge pull request #12 from cta-epfl/prod_server
Browse files Browse the repository at this point in the history
Porduction server
  • Loading branch information
Ph0tonic authored May 7, 2024
2 parents 3cefb5f + bd15d17 commit 11ab8de
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 231 deletions.
3 changes: 2 additions & 1 deletion arcservice/cli.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import logging

from arcservice.app import app
from waitress import serve


def main():
logging.basicConfig(level=logging.DEBUG)
app.run(host='0.0.0.0', port=5002)
serve(app, host="0.0.0.0", port=5002)


if __name__ == "__main__":
Expand Down
Loading

0 comments on commit 11ab8de

Please sign in to comment.