{"__v":0,"_id":"588f722bbcace50f0052ba01","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":"565f5f29de5dc50d00acfe9f","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":["57e5474003746919001f0d3f","57ea8dd37728c8220022bffc","57eaed5ec878550e00b3c45e"],"next":{"pages":[],"description":""},"createdAt":"2016-02-11T21:51:55.330Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":5,"body":"**Windows Users**\n\nRight-click the gateway.exe file, and select “Run as administrator”.\n\n**Notes:**\n1. If you get a prompt that says “Confirm Encryption Loss”, select “Yes” to extract the folder without encryption\n2. Depending on your permissions, you may receive a “Security Warning” or “Unknown Publisher\" prompt. Select “Run” to continue launching the software.\n\n**Linux and Mac Users**\n\n1. Open your terminal or command prompt\n2. Change your directory to the folder that contains your nanoscale.io binary.\n\nNanoscale.io server for Developer Edition can be started by running the gateway binary at the Terminal or Command Prompt:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nNanoscale.io server for Enterprise Edition can be started by running the gateway binary at the Terminal or Command Prompt:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway -license ./license\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nTo start nanoscale.io server with a custom configuration file (e.g. ./my.config):\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway -config=./my_conf\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nTo start nanoscale.io server in migration mode:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway -db-migrate\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nTo view all command line options (such as changing the default ports):\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"./gateway -help\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"start-the-justapis-server","type":"basic","title":"Start the nanoscale.io Server"}

Start the nanoscale.io Server


**Windows Users** Right-click the gateway.exe file, and select “Run as administrator”. **Notes:** 1. If you get a prompt that says “Confirm Encryption Loss”, select “Yes” to extract the folder without encryption 2. Depending on your permissions, you may receive a “Security Warning” or “Unknown Publisher" prompt. Select “Run” to continue launching the software. **Linux and Mac Users** 1. Open your terminal or command prompt 2. Change your directory to the folder that contains your nanoscale.io binary. Nanoscale.io server for Developer Edition can be started by running the gateway binary at the Terminal or Command Prompt: [block:code] { "codes": [ { "code": "./gateway", "language": "shell" } ] } [/block] Nanoscale.io server for Enterprise Edition can be started by running the gateway binary at the Terminal or Command Prompt: [block:code] { "codes": [ { "code": "./gateway -license ./license", "language": "shell" } ] } [/block] To start nanoscale.io server with a custom configuration file (e.g. ./my.config): [block:code] { "codes": [ { "code": "./gateway -config=./my_conf", "language": "shell" } ] } [/block] To start nanoscale.io server in migration mode: [block:code] { "codes": [ { "code": "./gateway -db-migrate", "language": "shell" } ] } [/block] To view all command line options (such as changing the default ports): [block:code] { "codes": [ { "code": "./gateway -help", "language": "shell" } ] } [/block]