# How to use deploy from scratch in Ionic2?

**URL:** <https://forum.ionicframework.com/t/how-to-use-deploy-from-scratch-in-ionic2/48645>\
**Category:** ionic-v3\
**Created:** [April 7, 2016, 3:28am UTC](https://forum.ionicframework.com/t/how-to-use-deploy-from-scratch-in-ionic2/48645 "2016-04-07T03:28:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skryabind](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/skryabind/32/99177_2.png) [@skryabind](https://forum.ionicframework.com/u/skryabind)\
**Post date:** [April 7, 2016, 3:28am UTC](https://forum.ionicframework.com/t/how-to-use-deploy-from-scratch-in-ionic2/48645/1 "2016-04-07T03:28:12Z")

</div>

I want to use deploy like in [Ionic1](http://docs.ionic.io/docs/deploy-from-scratch), but I can’t understand how to do it in Ionic2. Is there examples for it? I don’t know which module I need to import.

---

<div class="post-metadata">

**Author:** ![ryanhow](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@ryanhow](https://forum.ionicframework.com/u/ryanhow)\
**Post date:** [May 28, 2016, 12:49pm UTC](https://forum.ionicframework.com/t/how-to-use-deploy-from-scratch-in-ionic2/48645/2 "2016-05-28T12:49:53Z")

</div>

From the snippets I’ve read, it doesn’t work. Did you get it to work?

There is another thread here

> [@Ionic Deploy with Ionic 2](https://forum.ionicframework.com/t/ionic-deploy-with-ionic-2/37706):
>
> Has anybody used Ionic Deploy successfully with an Ionic 2 app? I have two problems: The UI doesn’t update after interacting with Ionic.Deploy(). In Angular 1 terms, it looks like $digest is not triggered. Only when I click the screen somewhere it updates. The apps UI overlaps with the iOS statusbar after updating ([https://github.com/driftyco/ionic-plugin-deploy/issues/48](https://github.com/driftyco/ionic-plugin-deploy/issues/48))
