raphael
f156d38739
- moves app into package - adds sql alchemy equipment - moves templates into server package - add app.db sqlite file
10 lines
225 B
Python
10 lines
225 B
Python
# Configuration
|
|
from server import app
|
|
|
|
if __name__ == "__main__":
|
|
context = ('certificate/xip.io.crt', 'certificate/xip.io.key')#certificate and key files
|
|
app.run('0.0.0.0', 1234, ssl_context=context, debug=True)
|
|
|
|
|
|
|