Commit 72c87cda authored by Syed Bilal Raees's avatar Syed Bilal Raees

port chanegs for prod

parent 07294bd9
...@@ -76,7 +76,7 @@ job1: ...@@ -76,7 +76,7 @@ job1:
script: script:
- pip install Flask - pip install Flask
- echo "deploying to development server" - echo "deploying to development server"
- sudo systemctl start python.service - sudo systemctl start prod.service
only: only:
- dev - dev
tags: tags:
......
...@@ -9,7 +9,7 @@ app.config["DEBUG"] = True ...@@ -9,7 +9,7 @@ app.config["DEBUG"] = True
def home(): def home():
return "<h1>HelloO DevOps people rel 1</h1><p>This site is a prototype API for greeting Nisum DevOps!</p>" return "<h1>HelloO DevOps people rel 1</h1><p>This site is a prototype API for greeting Nisum DevOps!</p>"
app.run(host='myApp.com', port=5000) app.run(host='myApp.com', port=5003)
#@app.route('/') #@app.route('/')
#def calc(): #def calc():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment