How to bind my javascript web app on IBM Bluemix with any Watson API service created by me in Manifest.yml?
We followed the following tutorials to make tthis Watson Car Conversation - Simple app demo to work on my local computer and Bluemix hosting. https://github.com/eGlobeBizCom/conversation-simple This Q is also posted at the comments section of this video https://www.youtube.com/watch?v=9M86BfL9KX0
*This demo app can work on my local computer; *But deploying the above app to Bluemix, not successful.
Many searches on the web have no helpful info. IBM Bluemix hosting and Watson API Service teams really need to improve tutorial and tech support. Any suggestions will be appreciated.
Your manifest.yml file expects a Watson Conversation service named conversation-free
, so before you push your application you need to run the following command to create this service:
$ cf create-service conversation free conversation-free
after that you can run cf push
to deploy your application.
These should fix the error you are seeing about not finding the conversation-free
service.
If you created your Watson conversation service via UI, please use a manifest.yml file similar to below to deploy your application:
applications:
- name: WatsonCarApp
services:
- Conversation-4i
command: npm start
path: .
instances: 1
memory: 512MB
PS: manifest.yml assumes your application name is WatsonCarApp
and your service name is Conversation-4i