It is very easy to set up Kanboard on Bluemix, IBM’s PaaS solution. (For those of you not familiar with Kanboard, it it a visual task board inspired by Kanban). I encourage you to visit the Kanboard site for more information.
Meanwhile, to set up Kanboard in Bluemix, I took the following steps, some which are optional:
1) Download the kanboard code from here: http://kanboard.net/downloads
2) Unzip the kanboard folder.
3) (Optional) Copy the kanboard folder into a local test environment. I had a Xampp test environment and I put the kanboard there. (e.g., C:\xampp\htdocs\kanboard). I started Apache and then pointed my browser at http://localhost/kanboard to see it working. (One of the benefits of doing this is I can configure the Kanboard environment before I push it into Bluemix. In my case, I created some new users, changed the admin password, and added some default tasks. If I push this folder, these changes will also show up in Bluemix.)
4) I had a copy of the Cloud Foundary executable (cf.exe) to push the code into Bluemix: I put the cf.exe file in the Kanboard folder.
5) I created a manifest.yml file in the Kanboard folder. In my manifest.yml file I had the following
—
applications:
– name: <my app name>
memory: 256M
instances: 1
host: <my host name>
buildpack: https://github.com/zendtech/zend-server-php-buildpack.git
applications:
– name: <my app name>
memory: 256M
instances: 1
host: <my host name>
buildpack: https://github.com/zendtech/zend-server-php-buildpack.git
You can make the name and host name anything, though the hostname is part of the URL for the site, so it must be acceptible as part of a URL. Also the hostname needs to be unique in Bluemix. I tend to make the app and host name the same.
Open a command window, and from the Kanboard folder, enter the following commands:
- cf api https://api.ng.bluemix.net
- cf login -u <your Bluemix login account>
- cf target -o <your Bluemix login account> -s dev
- cf push
Once you see that the health and status for the app is “OK”, you can either go to Bluemix to check it out, or go directly to the url: http://<hostname>.mybluemix.net/
You should be able to login and proceed to use it. (The default userid and password is here).