Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.79 KB

app-dev.md

File metadata and controls

39 lines (31 loc) · 1.79 KB

application development hacks

NHS Digital public data

all published data

Australia Institute of Health and Welfare public data

current published data

cloudant tutorials, blogs, etc

https://blog.cloudant.com/

cloudant samples

generating sample JSON datasets

datamaker

quick and dirty website

  1. install the ibmcloud cli
  2. create a project folder for your website
  3. create or copy into the folder the html and other resources (images, css, etc) you want serve from your website make sure there is an index.html file
  4. open a commnd terminal and change directory to your project directory
  5. login to your IBM Cloud account: ibmcloud login
  6. use the CloudFoundry mode to target your cloud organisation and space to host your website: ibmcloud target --cf
  7. get a list of supported runtime buildpacks: ibmcloud cf buildpacks -- look for staticfile_buildpack
  8. pick a hostname for your website - <mysitename>
  9. push the website to the cloud: ibmcloud cf push -b staticfile_buildpack -m 48M <mysitename>
  10. once the push completes, look for the fully-qualified domain name (FQDN) of your website - routes: <mysitename>[.something].mybluemix.net
  11. check in browser: https://<mysitename>[.something].mybluemix.net