Skip to content

starting node sample on windows #55

@jpeckham

Description

@jpeckham

https://github.com/ibm-messaging/event-streams-samples/blob/master/kafka-nodejs-console-sample/docs/Docker_Local.md instructions aren't working for windows

in dos command line you have to be single line and escape quotes. I don't think single tick worked:

SET VCAP_SERVICES = "{ "instance_id": "...", "mqlight_lookup_url": "...", "api_key": "...","kafka_admin_url": "....","kafka_rest_url": "...","kafka_brokers_sasl": [ ... ],"user": "...",
"password": "..."}"

interpolating env variable is different
docker run -e VCAP_SERVICES="%VCAP_SERVICES%" nodejs-console-sample

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions