From 6e42d58ed1b5a9f4d67463de470bd510e13428de Mon Sep 17 00:00:00 2001 From: Brad Erickson Date: Mon, 12 Dec 2016 13:52:01 -0800 Subject: [PATCH 1/2] Make example project app.py executable The README.doc says to execute ./app.py, but the file is not executable and does not have a shebang. --- examples/flask_sqlalchemy/app.py | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 examples/flask_sqlalchemy/app.py diff --git a/examples/flask_sqlalchemy/app.py b/examples/flask_sqlalchemy/app.py old mode 100644 new mode 100755 index 93626d62..64390aa6 --- a/examples/flask_sqlalchemy/app.py +++ b/examples/flask_sqlalchemy/app.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + from flask import Flask from database import db_session, init_db From edde9293beb5f2ec7ab7a8bd7086e40fab2ecf0a Mon Sep 17 00:00:00 2001 From: Brad Erickson Date: Mon, 12 Dec 2016 13:54:00 -0800 Subject: [PATCH 2/2] Update README.md with correct URL --- examples/flask_sqlalchemy/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/flask_sqlalchemy/README.md b/examples/flask_sqlalchemy/README.md index 9ac55525..7e446864 100644 --- a/examples/flask_sqlalchemy/README.md +++ b/examples/flask_sqlalchemy/README.md @@ -46,5 +46,5 @@ Now the following command will setup the database, and start the server: Now head on over to -[http://127.0.0.1:5000/graphiql](http://127.0.0.1:5000/graphiql) +[http://127.0.0.1:5000/graphql](http://127.0.0.1:5000/graphql) and run some queries!