{"_id":"588f722bbcace50f0052ba04","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"},"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"},"parentDoc":null,"project":"565f5fa26bafd40d0030a064","user":"565f3941ea46251700972783","__v":0,"updates":["57e546b800c8680e00fae7cf","57eaedaf12ad680e00777ba4"],"next":{"pages":[],"description":""},"createdAt":"2015-12-17T21:58:23.942Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":8,"body":"To install nanoscale.io in a Single Server mode on a [supported](doc:supported-platforms)  platform, please follow these steps:\n\n1. Install PostgreSQL 9.4 (it can be on the same or a different server)\n\n2. Download and install nanoscale.io package (refer to the [Running nanoscale.io](doc:running-nanoscale)).\n\n3. Configure the nanoscale.io server. You can refer to [Configuration Options](doc:configuration-options) for more details.\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Minimum required parameters are marked as “CHANGE” in the sample configuration file.\"\n}\n[/block]\n4. On your *initial* attempt please start nanoscale.io in migration mode by entering:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway -db-migrate\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"-db-migrate option will create tables in your Configuration Data Repository.\"\n}\n[/block]\n5. Seed initial data (refer to the [Manage Account and User Info](doc:seed-account-and-user-info)).\n\n6. Restart nanoscale.io server in regular mode:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway\",\n      \"language\": \"shell\",\n      \"name\": \"For Developer Edition\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway -license ./license\",\n      \"language\": \"shell\",\n      \"name\": \"For Enterprise Edition\\n\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"single-server-mode","type":"basic","title":"Single Server mode"}

Single Server mode


To install nanoscale.io in a Single Server mode on a [supported](doc:supported-platforms) platform, please follow these steps: 1. Install PostgreSQL 9.4 (it can be on the same or a different server) 2. Download and install nanoscale.io package (refer to the [Running nanoscale.io](doc:running-nanoscale)). 3. Configure the nanoscale.io server. You can refer to [Configuration Options](doc:configuration-options) for more details. [block:callout] { "type": "info", "body": "Minimum required parameters are marked as “CHANGE” in the sample configuration file." } [/block] 4. On your *initial* attempt please start nanoscale.io in migration mode by entering: [block:code] { "codes": [ { "code": "./gateway -db-migrate", "language": "shell" } ] } [/block] [block:callout] { "type": "info", "body": "-db-migrate option will create tables in your Configuration Data Repository." } [/block] 5. Seed initial data (refer to the [Manage Account and User Info](doc:seed-account-and-user-info)). 6. Restart nanoscale.io server in regular mode: [block:code] { "codes": [ { "code": "./gateway", "language": "shell", "name": "For Developer Edition" } ] } [/block] [block:code] { "codes": [ { "code": "./gateway -license ./license", "language": "shell", "name": "For Enterprise Edition\n" } ] } [/block]