# Ember cli build with external configuration

**URL:** <https://discuss.emberjs.com/t/ember-cli-build-with-external-configuration/8285>\
**Category:** Ember CLI\
**Created:** [June 29, 2015, 9:44am UTC](https://discuss.emberjs.com/t/ember-cli-build-with-external-configuration/8285 "2015-06-29T09:44:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dracks](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/dracks/32/10714_2.png) [@Dracks](https://discuss.emberjs.com/u/Dracks)\
**Post date:** [June 29, 2015, 9:44am UTC](https://discuss.emberjs.com/t/ember-cli-build-with-external-configuration/8285/1 "2015-06-29T09:44:29Z")

</div>

Hello,

There is some parameter on the ember-cli command to build the project using an external configuration file? I wish to build and generate the project files, but I don’t wish to embbed the configuration in the build. The thing is have the same code in any server, and you only need to change the configuration.

Thanks! Jaume.

---

<div class="post-metadata">

**Author:** ![ChromeShark](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/chromeshark/32/10796_2.png) [@ChromeShark](https://discuss.emberjs.com/u/ChromeShark)\
**Post date:** [June 30, 2015, 1:29pm UTC](https://discuss.emberjs.com/t/ember-cli-build-with-external-configuration/8285/2 "2015-06-30T13:29:35Z")

</div>

I used the add-on Ember CLI Dotenv to solve a similar problem:

[https://github.com/fivetanley/ember-cli-dotenv](https://github.com/fivetanley/ember-cli-dotenv)

---

<div class="post-metadata">

**Author:** ![Dracks](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/dracks/32/10714_2.png) [@Dracks](https://discuss.emberjs.com/u/Dracks)\
**Post date:** [June 30, 2015, 1:43pm UTC](https://discuss.emberjs.com/t/ember-cli-build-with-external-configuration/8285/3 "2015-06-30T13:43:38Z")

</div>

Great! it’s exactly what I need.

Thank You!

Dracks.

---

<div class="post-metadata">

**Author:** ![Dracks](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/dracks/32/10714_2.png) [@Dracks](https://discuss.emberjs.com/u/Dracks)\
**Post date:** [August 8, 2015, 5:25pm UTC](https://discuss.emberjs.com/t/ember-cli-build-with-external-configuration/8285/4 "2015-08-08T17:25:07Z")

</div>

Today testing on a raspberry-py I see this is not exactly what I need. It’s a good thing to have git code cleaned from machine configurations.

I see that I can change the properties from the index.html generated. It contents all the configuration of the environment in the “\<meta name=“view/config/environment” content=” I will make an script to look this file, and change the contents of this attribute as required.

Thanks, Dracks.
