Skip to content
Permalink
Browse files

added changes for development mode

  • Loading branch information...
prakhar1989 committed Jul 31, 2018
1 parent 80dc441 commit 31368936de5959efaf4457a94c678d21e3eefbce
Showing with 7 additions and 1 deletion.
  1. +3 −1 docker-compose.yml
  2. +4 −0 flask-app/app.py
@@ -10,8 +10,10 @@ services:
volumes:
- esdata1:/usr/share/elasticsearch/data
web:
image: prakhar1989/foodtrucks-web
build: .
command: python app.py
environment:
- DEBUG=True
depends_on:
- es
ports:
@@ -49,6 +49,10 @@ def check_and_load_index():
def index():
return render_template('index.html')

@app.route('/hello')
def hello():
return "hello world"

@app.route('/debug')
def test_es():
resp = {}

0 comments on commit 3136893

Please sign in to comment.
You can’t perform that action at this time.