# Run natively/local

**URL:** <https://forum.elixirforum.com/t/run-natively-local/19739>\
**Category:** Questions\
**Tags:** phoenix, deployment, native\
**Created:** [January 28, 2019, 8:41am UTC](https://forum.elixirforum.com/t/run-natively-local/19739 "2019-01-28T08:41:42Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![xlphs](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/xlphs/32/12168_2.png) [@xlphs](https://forum.elixirforum.com/u/xlphs)\
**Post date:** [January 28, 2019, 3:14pm UTC](https://forum.elixirforum.com/t/run-natively-local/19739/8 "2019-01-28T15:14:03Z")

</div>

I use `exrm` to release as Windows Service, I have tried distillery, it doesn’t work. After release, _strip_ your beam files of debug symbols, and edit the bat script as necessary, eg add new firewall rule to open up ports. I use InnoSetup to ship the entire release (elixir server plus a local GUI app), which also takes care of calling the install/uninstall script.

A small problem with this is starting up the database, for now I’m using sqlite so the entire service is standalone. But I think there’s a way to configure windows service dependency so you ask postgresql/etc to start first, or just have the service do delayed startup.

---

_[View the full topic](https://forum.elixirforum.com/t/run-natively-local/19739)._
