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..ac1ed9e
--- /dev/null
+++ b/azure-pipelines.yml
@@ -0,0 +1,50 @@
+trigger:
+ branches:
+ exclude:
+ - '*'
+
+# pr:
+# branches:
+# include:
+# - '*'
+
+pool:
+ name: Default
+ demands:
+ - agent.name -equals WIN-4G3TNA4VMUF
+
+stages:
+- stage: ValidateComposeFile
+ jobs:
+ - job: Validate
+ steps:
+ - script: |
+ docker-compose config
+ displayName: 'Validate docker-compose.yml'
+
+- stage: BuildAndTest
+ dependsOn: ValidateComposeFile
+ jobs:
+ - job: Build
+ steps:
+ - task: DockerCompose@0
+ inputs:
+ action: 'Build services'
+ dockerComposeFile: 'docker-compose.yml'
+ displayName: 'Build Docker Services'
+
+ - task: DockerCompose@0
+ inputs:
+ action: 'Run services'
+ dockerComposeFile: 'docker-compose.yml'
+ displayName: 'Run Docker Services'
+
+ - script: |
+ docker-compose run my-service ./run-tests.sh
+ displayName: 'Run Tests'
+
+ - task: DockerCompose@0
+ inputs:
+ action: 'Down services'
+ dockerComposeFile: 'docker-compose.yml'
+ displayName: 'Tear Down Services'
\ No newline at end of file
diff --git a/subash b/subash
new file mode 100644
index 0000000..9daeafb
--- /dev/null
+++ b/subash
@@ -0,0 +1 @@
+test
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 }}
@@ -44,11 +45,11 @@ {{ h }}
To-Do LIST :
- Status |
+ Sssssstatus new file |
Task Name |
Description Name |
Date |
- Priority |
+ Prioritynew |
Remove |
Modify |
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
Task Name |
Task Description |
Date |
- Project |
+ ProjectdATA |
Delete |
Modify |