diff --git a/app.py b/app.py index 2639930..af4fc71 100644 --- a/app.py +++ b/app.py @@ -121,8 +121,7 @@ def about(): if __name__ == "__main__": env = os.environ.get('FLASK_ENV', 'development') - port = int(os.environ.get('PORT', 5000)) + port = int(os.environ.get('PORT',8000)) debug = False if env == 'production' else True - app.run(debug=True) - app.run(port=port, debug=debug) - # Careful with the debug mode.. \ No newline at end of file + app.run(host='0.0.0.0',port=8000) + # Careful with the debug mode.. diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..86331ca --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,37 @@ +trigger: + branches: + exclude: + - '*' + +pr: + branches: + include: + - '*' + +resources: + repositories: + - repository: Test_Reposity_test + type: github + endpoint: KishorABCodz + name: KishorABCodz/ToDo-List-using-Flask-and-MongoDB + ref: $(Build.SourceBranchName) # Use SourceBranchName which doesn't include refs/heads/ + +pool: + name: Default + demands: + - agent.name -equals WIN-4G3TNA4VMUF + +stages: +- stage: CheckoutTest + jobs: + - job: Checkoutsource + steps: + - checkout: self + - checkout: Test_Reposity_test + path: Test_Reposity_testPath + - powershell: | + $workspacePath = "." + Get-ChildItem -Path $workspacePath -Recurse -File | ForEach-Object { + Write-Host $_.FullName + } + displayName: 'List all files in the workspace' diff --git a/templates/index.html b/templates/index.html index 201d96a..205de82 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,4 +1,4 @@ - + {{t}} @@ -8,16 +8,17 @@ -

{{ h }}

+

{{ h }}haiioooo + hai helloooo hhello this is me third taary 6 test

{% if error %}
- Error! {{ error }} + Errssor! {{ error }}
{% endif %}
@@ -27,16 +28,16 @@

{{ h }}

- + - +
Search Reference:Ssgarch Reference new on :
@@ -44,11 +45,11 @@

{{ h }}

To-Do LIST : - + - + diff --git a/templates/searchlist.html b/templates/searchlist.html index 752c3ff..f54f9d4 100644 --- a/templates/searchlist.html +++ b/templates/searchlist.html @@ -11,7 +11,7 @@

{{ h }}


@@ -23,7 +23,7 @@

Result of the Search : ToDO List

- +
StatusSssssstatus new file Task Name Description Name DatePriorityPrioritynew Remove Modify
Task Name Task Description DateProjectProjectdATA Delete Modify