Fix route
This commit is contained in:
Binary file not shown.
@@ -9,6 +9,29 @@ def install_index():
|
|||||||
The page you'd get if you access the root of
|
The page you'd get if you access the root of
|
||||||
this app in a browser.
|
this app in a browser.
|
||||||
"""
|
"""
|
||||||
|
install_start()
|
||||||
return render_template('install.html')
|
return render_template('install.html')
|
||||||
|
|
||||||
|
|
||||||
|
@bp.route('/install-start',methods=['GET', 'POST', 'PUT'])
|
||||||
|
def install_start():
|
||||||
|
"""
|
||||||
|
Trigger the installation process
|
||||||
|
"""
|
||||||
|
print("The installation process is starting!... in theory at least")
|
||||||
|
|
||||||
|
|
||||||
|
@bp.route('/install-status',methods=['GET', 'POST', 'PUT'])
|
||||||
|
def install_status():
|
||||||
|
"""
|
||||||
|
Update on the status of the installation process.
|
||||||
|
"""
|
||||||
|
print("installation en coers")
|
||||||
|
|
||||||
|
|
||||||
|
@bp.route('/settings',methods=['GET', 'POST', 'PUT'])
|
||||||
|
def settings():
|
||||||
|
"""
|
||||||
|
Manage settings for the installation module.
|
||||||
|
"""
|
||||||
|
print("Settings")
|
||||||
|
|||||||
Reference in New Issue
Block a user