Skip to content

Instantly share code, notes, and snippets.

@developerworks
Created March 6, 2015 13:34
Show Gist options
  • Select an option

  • Save developerworks/6b75d93dad453371b0a4 to your computer and use it in GitHub Desktop.

Select an option

Save developerworks/6b75d93dad453371b0a4 to your computer and use it in GitHub Desktop.
~/ElixirProjects/elixir-usersystem/app ¥MIX_ENV=prod sudo iex -S mix phoenix.server
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Compiled lib/user_system.ex
Compiled web/controllers/page_controller.ex
Compiled lib/user_system/endpoint.ex
Compiled web/view.ex
Compiled web/router.ex
Compiled web/views/error_view.ex
Compiled web/views/layout_view.ex
Compiled web/views/page_view.ex
Generated user_system.app
[info] Running UserSystem.Endpoint with Cowboy on port 4000 (http)
Interactive Elixir (1.0.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Mix.env
env/0 env/1
iex(1)> Mix.env
:dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment