Add files via upload

This commit is contained in:
Harold Finch
2023-04-10 07:18:32 +02:00
committed by GitHub
parent 06ddbf431f
commit 65875d8fef
100 changed files with 84692 additions and 42 deletions

19
iredadmin.py Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env python
# Author: Zhang Huangbin <zhb@iredmail.org>
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
from libs import iredbase
# Initialize webpy app.
app = iredbase.app
if __name__ == "__main__":
# Starting webpy builtin http server.
# WARNING: this should not be used for production.
app.run()
else:
# Run as a WSGI application
application = app.wsgifunc()