# Use Ember.js 2.x to build a local application?

**URL:** <https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685>\
**Category:** Uncategorized\
**Created:** [August 26, 2015, 9:39am UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685 "2015-08-26T09:39:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karel\_Michek](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@Karel\_Michek](https://discuss.emberjs.com/u/Karel_Michek)\
**Post date:** [August 26, 2015, 9:39am UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/1 "2015-08-26T09:39:32Z")

</div>

I need to build about 30 web pages (sales) application and distribute it as a locally runnable demo - in a zip file, users would unzip the app and run it locally in their browser. I.e. no web server. It needs to contain about 10 local data models to demonstrate about 10 page flow variants. Is Ember.js 2.x suitable for the job? This version of the application would actually serve as a (instead of a) specification. Next version would swap from local model to REST services and add more variants. I would use Axure or similar prototyping tool, but maybe Ember would be better because of the data model used, more exact routes and components behaviour. I have sketched the application in Balsamiq, it helped a lot in the initial stage, but now I need a lot more, yet it’s too soon to go to full blown development. Thanks for your opinion. Karel.

---

<div class="post-metadata">

**Author:** ![od1n](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/od1n/32/10680_2.png) [@od1n](https://discuss.emberjs.com/u/od1n)\
**Post date:** [August 26, 2015, 9:58am UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/2 "2015-08-26T09:58:13Z")

</div>

Just use the output from the dist folder, it should work.

---

<div class="post-metadata">

**Author:** ![dpreston](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/dpreston/32/10590_2.png) [@dpreston](https://discuss.emberjs.com/u/dpreston)\
**Post date:** [August 26, 2015, 1:46pm UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/3 "2015-08-26T13:46:32Z")

</div>

And you can use ember-cli-mirage to mock the api server.

---

<div class="post-metadata">

**Author:** ![Karel\_Michek](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@Karel\_Michek](https://discuss.emberjs.com/u/Karel_Michek)\
**Post date:** [August 26, 2015, 2:05pm UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/4 "2015-08-26T14:05:23Z")

</div>

Hi. Maybe it worked like that in Ember 1. Now I use 2.0.1. (my console shows Ember 2.0.1.). If I run the “ember server” I get Welcome to Ember message. If I shutdown the server and open index.html in the dist folder directly I get a blank page. So I’m guessing Ember 2 requires to be served by a web server. Thanks.

---

<div class="post-metadata">

**Author:** ![broerse](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/broerse/32/9497_2.png) [@broerse](https://discuss.emberjs.com/u/broerse)\
**Post date:** [August 26, 2015, 6:04pm UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/5 "2015-08-26T18:04:55Z")

</div>

I was started testing [https://github.com/brzpegasus/ember-cli-nwjs](https://github.com/brzpegasus/ember-cli-nwjs) with [https://github.com/nolanlawson/ember-pouch](https://github.com/nolanlawson/ember-pouch) to do this. I got nw working fine but did not find time to test where and if the Pouch data is stored automatically somewhere.

---

<div class="post-metadata">

**Author:** ![Karel\_Michek](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@Karel\_Michek](https://discuss.emberjs.com/u/Karel_Michek)\
**Post date:** [September 6, 2015, 9:26am UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/6 "2015-09-06T09:26:02Z")

</div>

Thanks a lot. I am playing with that. It is what I need.

---

<div class="post-metadata">

**Author:** ![yiannissakk](https://avatars.discourse-cdn.com/v4/letter/y/f0a364/32.png) [@yiannissakk](https://discuss.emberjs.com/u/yiannissakk)\
**Post date:** [July 11, 2017, 5:11pm UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/7 "2017-07-11T17:11:03Z")

</div>

I was wondering if we got an update to this one? Did Pouch DB work?

---

<div class="post-metadata">

**Author:** ![broerse](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/broerse/32/9497_2.png) [@broerse](https://discuss.emberjs.com/u/broerse)\
**Post date:** [July 12, 2017, 10:32am UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/8 "2017-07-12T10:32:16Z")

</div>

We did test [ember-electron](https://ember-electron.js.org/) with [ember-pouch](https://github.com/pouchdb-community/ember-pouch) and it works. We decided not to go for the nwjs way.

---

<div class="post-metadata">

**Author:** ![Karel\_Michek](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@Karel\_Michek](https://discuss.emberjs.com/u/Karel_Michek)\
**Post date:** [July 12, 2017, 11:58am UTC](https://discuss.emberjs.com/t/use-ember-js-2-x-to-build-a-local-application/8685/9 "2017-07-12T11:58:42Z")

</div>

Hi. Eventually I did not build it as a local application. I used Firebase database and hosting instead. It became quite a large application - sales process. I haven’t done even any tests with Pouch DB, sorry. Firebase turned out to be a good option for what I needed.
