{"_id":"588f722bbcace50f0052ba08","category":{"_id":"588f722bbcace50f0052b9e7","version":"588f722bbcace50f0052b9e1","project":"565f5fa26bafd40d0030a064","__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"},"user":"565f3941ea46251700972783","project":"565f5fa26bafd40d0030a064","version":{"_id":"588f722bbcace50f0052b9e1","project":"565f5fa26bafd40d0030a064","__v":1,"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"},"parentDoc":null,"__v":0,"updates":["57e545b800c8680e00fae7ce","57eaee3312ad680e00777ba5"],"next":{"pages":[],"description":""},"createdAt":"2015-12-23T23:34:24.035Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":12,"body":"1. Ensure that you have the Heroku tool belt installed.\n\n2. Download your nanoscale.io binary from your welcome email.\n\n3. Create a Git repository.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"init >git init\\ngit add .\\ngit commit -am 'init'\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n4. Create the Heroku app (replace with your app name).\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"heroku create --buildpack http://github.com/ryandotsmith/null-buildpack.git5\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n5. Add postgres 9.4 to your heroku app.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"heroku addons:add heroku-postgresql --version=9.4 -a\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n6. Edit the con and make any necessary changes.\n\n7. Commit your changes.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"git commit again\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n8. Deploy and create account and user data (refer to [Manage Account and User Info](doc:seed-account-and-user-info)).\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"git push heroku master\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"install-on-heroku","type":"basic","title":"Install on Heroku"}
1. Ensure that you have the Heroku tool belt installed. 2. Download your nanoscale.io binary from your welcome email. 3. Create a Git repository. [block:code] { "codes": [ { "code": "init >git init\ngit add .\ngit commit -am 'init'", "language": "shell" } ] } [/block] 4. Create the Heroku app (replace with your app name). [block:code] { "codes": [ { "code": "heroku create --buildpack http://github.com/ryandotsmith/null-buildpack.git5", "language": "shell" } ] } [/block] 5. Add postgres 9.4 to your heroku app. [block:code] { "codes": [ { "code": "heroku addons:add heroku-postgresql --version=9.4 -a", "language": "shell" } ] } [/block] 6. Edit the con and make any necessary changes. 7. Commit your changes. [block:code] { "codes": [ { "code": "git commit again", "language": "shell" } ] } [/block] 8. Deploy and create account and user data (refer to [Manage Account and User Info](doc:seed-account-and-user-info)). [block:code] { "codes": [ { "code": "git push heroku master", "language": "shell" } ] } [/block]