ibm-cloud

Set Bluemix VCAP_SERVICES environment variable locally so that I can develop locally?

我们两清 提交于 2019-12-08 07:08:51
问题 I am trying to set my Bluemix VCAP_SERVICES environment variable locally, but I'm getting this error in the terminal: NoSQL: command not found Steps to reproduce Login to Bluemix.net Deploy a hello world flask application Bind a Bluemix Cloudant Service to the application Copy the VCAP_SERVICES Environment Variables from the Runtime / Environment Variables on the application for Python In local editor remove all the line breaks on Mac terminal vi ~/.bash_profile Enter insert mode with i paste

Bluemix - object storage - node.js - pkgcloud - openstack returns 401

末鹿安然 提交于 2019-12-08 04:05:13
问题 I am trying to use pkgcloud (node.js) openstack with bluemix object storage, but when I put all the requested parameters as on official page, it always returns 401. I tried using postman as described on bluemix and it works. 回答1: I created a package, which is able to to authorize it right. It is just a copy of pkgcloud, with a few fixes. EDIT: IT IS WORKING! The V2 supports was shot down by bluemix and it has only V3 support now, but I once again find the issues. Remember to use newest

How to implement Push Notification in Hybrid Mobile Application using Bluemix

余生颓废 提交于 2019-12-07 20:35:25
问题 I was earlier implementing push in my hybrid mobile application using the below code. function EnablePushNotification(email) { var config = { applicationId:'', applicationRoute:'', applicationSecret:'' //applicationSecret:'' }; console.log("EnablePushNotification : " + email); return IBMBluemix.initialize(config) .then(function() { return IBMPush.initializeService(); }) .then(function(push1) { var push = IBMPush.getService(); //device.model //userName push.registerDevice(email, email,

Bluemix: How to upgrade pip?

纵饮孤独 提交于 2019-12-07 20:34:34
I got this warning when I run my python app on bluemix: You are using pip version 7.1.0, however version 8.1.0 is available. How do I run shell commands like "pip install --upgrade pip" in my cf app? Adding "Shell script" step on Build or Deploy stage gave me pip not found error. Thanks! opiethehokie You can't run arbitrary commands while the application is being staged, i.e. when pip would be used. If you can't ignore the warning, you could try the Heroku Python buildpack which is updated to use 8.1.0 by using the -b option when pushing your app, but I can't comment on how they are otherwise

how to install a letsencrypt cert on ibm cloud?

好久不见. 提交于 2019-12-07 19:53:15
问题 I'm struggling to install a lets encrypt cert on IBM cloud to enable https access. I checked the cert using keytool and it includes all domains, and it seems valid. Right now i have two problems: https is only enabled on the root domain -> https://example.com but not on any of my subdomains including https://www.example.com the intermediate cert isnt delivered, which means some browsers wont accept it. I followed this tutorial https://www.ibm.com/blogs/bluemix/2014/09/ssl-certificates-bluemix

Connection error while connecting to cloudant DB from local

泪湿孤枕 提交于 2019-12-07 19:25:36
问题 I am new to cloudant. I have written code to connect cloudant DB which is DBaas in bluemix. I have written code locally to connect cloudant DB. Below is the code try { user="4728f43d-fcd2-41f0-be63-8945a78a9dab-bluemix"; password="xxxxxxxxxxxxxxxx"; url="https://4728f43d-fcd2-41f0-be63-8945a78a9dab-bluemix:xxxxxxxxxxxxxxxx@4728f43d-fcd2-41f0-be63-8945a78a9dab-bluemix.cloudant.com"; System.setProperty("http.proxyHost", "9.184.9.13"); System.setProperty("http.proxyPort", "80"); //user="8452e722

IBM Bluemix erroring when creating volumes via docker-compose up

依然范特西╮ 提交于 2019-12-07 14:43:57
问题 I am currently trying to get a docker-compose.yml working with Bluemix. The docker-compose.yml works fine when used directly with docker. Here the error message: $ docker-compose -f docker-compose-bluemix.yml up -d Creating volume "angularexpress_iib-binary" with default driver Creating angularexpress_iib-binary_1 ERROR: "angularexpress_iib-binary" I have created the volumes manually to see if it would help, but still getting the same error message: $ cf ic volume list iib iib-binary The

How to use QA Service of IBM watson with REST API

南楼画角 提交于 2019-12-07 13:48:19
问题 I have just started to learn IBM Watson services. I need to use Question and answer API of bluemix in java using REST API. But I couldn't find any service like Question and answer . Please can anybody tell me is the name is changed or where can I find the documentation for this service. I have tried with existing answers in SO. But those links which are in answers are not working removed. Regards 回答1: The QA service has been discontinued since the end of last year. Instead what has happened

How to manage multiple components with IBM Bluemix Track & Plan

℡╲_俬逩灬. 提交于 2019-12-07 11:17:37
问题 We have an application that is comprised of multiple distinct components (different functions / languages). Is it possible in IBM Bluemix to use a single Track & Plan feature to manage the work items for the components but keep the source code in separate git repositories? For example, I would like to have one backlog for the overall application which is then backed by 5 separate git repos which house the individual components (project-frontend, project-backend, project-queue etc..). If this

Activating PHP extensions in Bluemix

邮差的信 提交于 2019-12-07 10:22:58
问题 This is a purely Bluemix question! I've got code running smoothly on a localhost but when I migrated it to Bluemix my DB connection failed me. Checking the logs I found the issue "Call to undefined function mysqli_init()" HTTP response 500. I have found out that extension have been disabled to make it smaller and have found some details about it: Buildpack options. Unfortunately I have tried that and failed. Maybe I have misunderstood the solution. Any Help would be greatly appreciated. EDIT: