calendarwatch_frontend/app.py
raphael c89ecd7134 adds backend script which can be run as a cronjob every n minutes to generate new json files for google calendars
- database updated to save google credentials
- database updated to save json calendar information
- json still saved as a json file under userinfo/<user.id>/calendarevents.json
2020-04-24 17:54:56 +00:00

13 lines
270 B
Python

# Configuration
from server import app
from backend import routine
routine.start()
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)