{"_id":"56d1f33a00a2a70b00b365d0","user":"5526ca4cf69851170038b496","parentDoc":null,"project":"5526c95cf69851170038b48f","category":{"_id":"56d1f33900a2a70b00b3658f","version":"56d1f33700a2a70b00b3658e","__v":1,"pages":["56d1f33a00a2a70b00b365c1","56d1f33a00a2a70b00b365c2","56d1f33a00a2a70b00b365c3","56d1f33a00a2a70b00b365c4","56d1f33a00a2a70b00b365c5","56d1f33a00a2a70b00b365c6","56d1f33a00a2a70b00b365c7","56d1f33a00a2a70b00b365c8","56d1f33a00a2a70b00b365c9","56d1f33a00a2a70b00b365ca","56d1f33a00a2a70b00b365cb","56d1f33a00a2a70b00b365cc","56d1f33a00a2a70b00b365cd","56d1f33a00a2a70b00b365ce","56d1f33a00a2a70b00b365cf","56d1f33a00a2a70b00b365d0","56d1f33a00a2a70b00b365d1","56d1f33a00a2a70b00b365d2"],"project":"5526c95cf69851170038b48f","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-10T13:13:56.755Z","from_sync":false,"order":0,"slug":"getting-started","title":"Getting Started"},"version":{"_id":"56d1f33700a2a70b00b3658e","project":"5526c95cf69851170038b48f","__v":2,"createdAt":"2016-02-27T19:04:23.946Z","releaseDate":"2016-02-27T19:04:23.946Z","categories":["56d1f33900a2a70b00b3658f","56d1f33900a2a70b00b36590","56d1f33900a2a70b00b36591","56d1f33900a2a70b00b36592","56d1f33900a2a70b00b36593","56d1f33900a2a70b00b36594","56d1f33900a2a70b00b36595","56d1f33900a2a70b00b36596","56d1f33900a2a70b00b36597","56d1f33900a2a70b00b36598","56d1f33900a2a70b00b36599","56d1f33900a2a70b00b3659a","571f9497ada30c34003b7cee"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"beta","version_clean":"2.0.0-beta","version":"2.0.0-beta"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-29T15:00:20.124Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":5,"body":"To use certain services (e.g. Deploy, View, Package) you'll need to upload your app code to the Ionic Platform. As it's core, uploading to the Platform is straightforward; You just need to run the `ionic upload` command.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ ionic upload --note \\\"Some details about this upload\\\"\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nLet's talk about what goes on behind the scenes when you do an upload:\n\n1. First, we zip up the contents of your `www` directory. \n2. Then we check to see if you have already hooked your app up to Ionic Platform.\n3. If we didn't find an existing app id, we generate a new app id / api key for you.\n4. We then create a new \"version\" of your app code with a unique identifier and some meta-data like the *note* you provided.\n\nThat's it. We then reference the different \"versions\" of your app when using services like Deploy and Package.\n[block:api-header]\n{\n  \"type\": \"basic\"\n}\n[/block]\nOnce you have at least a single app uploaded, some service features will become available to you in your app dashboard, and you could start using [Ionic View](http://view.ionic.io/) to preview your app on a device.\n\nCheck out the [Deploying Updates](doc:deploy-deploying-updates) guide to learn more about how how to automatically deploy an upload.","excerpt":"Learn about uploading your app to Ionic Platform","slug":"io-uploading","type":"basic","title":"Uploading"}

Uploading

Learn about uploading your app to Ionic Platform

To use certain services (e.g. Deploy, View, Package) you'll need to upload your app code to the Ionic Platform. As it's core, uploading to the Platform is straightforward; You just need to run the `ionic upload` command. [block:code] { "codes": [ { "code": "$ ionic upload --note \"Some details about this upload\"", "language": "shell" } ] } [/block] Let's talk about what goes on behind the scenes when you do an upload: 1. First, we zip up the contents of your `www` directory. 2. Then we check to see if you have already hooked your app up to Ionic Platform. 3. If we didn't find an existing app id, we generate a new app id / api key for you. 4. We then create a new "version" of your app code with a unique identifier and some meta-data like the *note* you provided. That's it. We then reference the different "versions" of your app when using services like Deploy and Package. [block:api-header] { "type": "basic" } [/block] Once you have at least a single app uploaded, some service features will become available to you in your app dashboard, and you could start using [Ionic View](http://view.ionic.io/) to preview your app on a device. Check out the [Deploying Updates](doc:deploy-deploying-updates) guide to learn more about how how to automatically deploy an upload.