You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/19 16:51:12 UTC
[GitHub] csantanapr commented on issue #1719: Vagrant doc may need update
for cloudant setup
csantanapr commented on issue #1719: Vagrant doc may need update for cloudant setup
URL: https://github.com/apache/incubator-openwhisk/issues/1719#issuecomment-382805622
There was something weird with how to read env variables in Vagrant that I had to use lower case `cloudant` and then exported as upper case `Cloudant` in Vagrant script
```
if [[ $OW_DB == "cloudant" ]]; then
export OW_DB="Cloudant"
export OW_DB_PROTOCOL="https"
export OW_DB_HOST="$OW_DB_USERNAME.cloudant.com"
export OW_DB_PORT="443"
else
export OW_DB="CouchDB"
export OW_DB_PROTOCOL=#{ENV['OW_DB_PROTOCOL']}
export OW_DB_HOST=#{ENV['OW_DB_HOST']}
export OW_DB_PORT=#{ENV['OW_DB_PORT']}
fi
```
The docs are correct.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services