{"__v":0,"_id":"588f722bbcace50f0052ba09","category":{"version":"588f722bbcace50f0052b9e1","project":"565f5fa26bafd40d0030a064","_id":"588f722bbcace50f0052b9e7","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-12-17T21:29:23.551Z","from_sync":false,"order":5,"slug":"server-installation-configuration","title":"Self Hosting"},"parentDoc":null,"project":"565f5fa26bafd40d0030a064","user":"565f3941ea46251700972783","version":{"__v":1,"_id":"588f722bbcace50f0052b9e1","project":"565f5fa26bafd40d0030a064","createdAt":"2017-01-30T17:04:43.410Z","releaseDate":"2017-01-30T17:04:43.410Z","categories":["588f722bbcace50f0052b9e2","588f722bbcace50f0052b9e3","588f722bbcace50f0052b9e4","588f722bbcace50f0052b9e5","588f722bbcace50f0052b9e6","588f722bbcace50f0052b9e7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"5.3.0","version":"5.3.0"},"updates":["57e5459403746919001f0d3e","57eaee4598d0570e00c328e6"],"next":{"pages":[],"description":""},"createdAt":"2015-12-25T00:25:21.870Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":13,"body":"To setup your nanoscale.io instance on Bluemix, do the following:\n \n1. Signup for Bluemix (<a target=\"_blank\" href=\"https://console.ng.bluemix.net/registration/\">here</a>).\n\n2. Install the CloudFoundry CLI and login to the Bluemix CF endpoint.\n\n3. From a directory on your machine that has the ‘gateway-linux-amd64’ binary (with appropriate execute permissions via chmod +x gateway-linux-amd64) run:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"cf push nanoscale-poc -c './gateway-linux-amd64 -proxy-host=0.0.0.0 -proxy-port=$VCAP_APP_PORT' -b https://github.com/cloudfoundry/binary-buildpack.git -s cflinuxfs2\\n\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nPlease note that ‘nanoscale-poc’ is the app name. Make sure to change it to something different so you have your own unique app name.\n \nThis is a simple setup and defaults to sqlite. The database has a potential to disappear if the server fully restarts. Passing a conf file is as simple as including it in the same directory as the binary and pointing the binary to it.","excerpt":"","slug":"install-on-ibm-bluemix","type":"basic","title":"Install on IBM Bluemix"}

Install on IBM Bluemix


To setup your nanoscale.io instance on Bluemix, do the following: 1. Signup for Bluemix (<a target="_blank" href="https://console.ng.bluemix.net/registration/">here</a>). 2. Install the CloudFoundry CLI and login to the Bluemix CF endpoint. 3. From a directory on your machine that has the ‘gateway-linux-amd64’ binary (with appropriate execute permissions via chmod +x gateway-linux-amd64) run: [block:code] { "codes": [ { "code": "cf push nanoscale-poc -c './gateway-linux-amd64 -proxy-host=0.0.0.0 -proxy-port=$VCAP_APP_PORT' -b https://github.com/cloudfoundry/binary-buildpack.git -s cflinuxfs2\n", "language": "shell" } ] } [/block] Please note that ‘nanoscale-poc’ is the app name. Make sure to change it to something different so you have your own unique app name. This is a simple setup and defaults to sqlite. The database has a potential to disappear if the server fully restarts. Passing a conf file is as simple as including it in the same directory as the binary and pointing the binary to it.