-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
769f071
commit e441a85
Showing
22 changed files
with
113 additions
and
4,377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
use Mix.Config | ||
|
||
# Pull in the `dev` configuration from the `eye_ui` application | ||
# when running on the `host` target. | ||
import_config "../../eye_ui/config/dev.exs" | ||
|
||
# Disable `:code_reloader` when running from `eye_fw` because | ||
# it is declared as `only: :dev` in the `eye_ui` application, | ||
# so it won't be available when `eye_ui` is added as a dependency. | ||
config :eye_ui, EyeUiWeb.Endpoint, | ||
code_reloader: false | ||
|
||
config :logger, | ||
level: :debug | ||
|
||
config :logger, :console, | ||
level: :debug, | ||
format: "[$level] $message\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
use Mix.Config | ||
|
||
# Pull in the `prod` configuration from the `eye_ui` application | ||
# when running on the `rpi0_zbar` target. | ||
import_config "../../eye_ui/config/prod.exs" | ||
|
||
config :eye_ui, EyeUiWeb.Endpoint, | ||
http: [port: 80], | ||
url: [host: "nerves.local", port: 80], | ||
# Start the server since we're running in a release instead of through `mix` | ||
server: true, | ||
# We can't easily check the origin because the host you connect to might | ||
# end up being whatever the device's IP address is | ||
check_origin: false, | ||
# We don't load from system env because we bake it into the Nerves firmware either way | ||
load_from_system_env: false | ||
|
||
config :logger, | ||
compile_time_purge_level: :info, | ||
level: :info, | ||
utc_log: true | ||
|
||
config :logger, :console, | ||
level: :info, | ||
format: "$dateT$time [level=$level $metadata] $message\n", | ||
metadata: [:module] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.