A Python application and tutorial that use Flask framework to provide a REST API to receive requests from the UI. The API then persists the data to a Cloudant database.
Hi,
Running locally the sample file vcap-local.json couldn't be find. So, my proposition is as follow:
...
elif os.path.isfile(os.path.join(os.path.dirname(file),'vcap-local.json')):
with open(os.path.join(os.path.dirname(file),'vcap-local.json')) as f:
...
Best regards,
Tom
Hi, Running locally the sample file vcap-local.json couldn't be find. So, my proposition is as follow: ... elif os.path.isfile(os.path.join(os.path.dirname(file),'vcap-local.json')): with open(os.path.join(os.path.dirname(file),'vcap-local.json')) as f: ... Best regards, Tom