Changeset 09cab2c for buildhelpers/codegen
- Timestamp:
- Apr 19, 2020, 6:22:10 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 042a469
- Parents:
- 5b0a862
- File:
-
- 1 edited
-
buildhelpers/codegen/templates/__main__.mustache (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
buildhelpers/codegen/templates/__main__.mustache
r5b0a862 r09cab2c 13 13 14 14 def main(): 15 setup_app('{{appName}}', config_object, template_folder = os.path.join(os.path.dirname(__file__), 'templates')) 16 app.run(host=application.config.get("HOST", "localhost"), port=application.config.get("PORT", {{serverPort}})) 15 template_folder = os.path.join(os.path.dirname(__file__), 'templates') 16 setup_app('{{appName}}', config_object, template_folder = template_folder) 17 app.run(host=application.config.get("HOST", "localhost"), port=application.config.get("PORT", {{serverPort}})) 17 18 18 19 if __name__ == '__main__': 19 main()20 main()
Note:
See TracChangeset
for help on using the changeset viewer.
