Open upkarlidder opened 5 years ago
Well the instructions on the readme need to be refactor as the 2 commands are only applicable in IBM environments “package refresh” and “ic fn service bind” are only applicable in IBM not in open source Apache deployments.
Are you suggesting to take them out completely ? Or should I add ic function service bind
as an alternative under "Setting up a Cloudant database in Bluemix" along with ic fn package refresh
.
I could not get ic fn package refresh
working earlier. But that may be another issue.
The instructions under
Setting up a Cloudant database in Bluemix
are not working for me withwsk package refresh
. However, I am able to useic fn service bind
command.Instead the following works:
ic fn package bind /whisk.system/cloudant my-cloudant-package
ic fn service bind cloudantnosqldb my-cloudant-package --instance <your ibmcloud cloudant instance name>
ic fn package get my-cloudant-package
I think we should correct
refresh
usage if I am doing it incorrectly and also add theic fn service bind
way. Happy to create a PR if you can verify this issue. Thank you !