Skip to content

Commit

Permalink
Rename hello_phoenix to emphasize the poncho part
Browse files Browse the repository at this point in the history
Since poncho projects are a more specialized Phoenix/Nerves
configuration, emphasize the poncho part by renaming the example so it's
more obvious. Most Nerves users should start with the simpler
`hello_live_view`.
  • Loading branch information
fhunleth committed Oct 18, 2024
1 parent 4e5fe3b commit 57ae8e5
Show file tree
Hide file tree
Showing 74 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ updates:
- "nerves_system*"

- package-ecosystem: mix
directory: "/hello_phoenix"
directory: "/poncho_phoenix"
schedule:
interval: daily
open-pull-requests-limit: 10
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ application's root directory.
* [`hello_gpio`](https://github.com/nerves-project/nerves-examples/blob/main/hello_gpio/README.md)
* [`hello_lfe`](https://github.com/nerves-project/nerves-examples/blob/main/hello_lfe/README.md)
* [`hello_live_view`](https://github.com/nerves-project/nerves-examples/blob/main/hello_live_view/README.md)
* [`hello_phoenix`](https://github.com/nerves-project/nerves-examples/blob/main/hello_phoenix/README.md)
* [`poncho_phoenix`](https://github.com/nerves-project/nerves-examples/blob/main/poncho_phoenix/README.md)
* [`hello_scenic`](https://github.com/nerves-project/nerves-examples/blob/main/hello_scenic/README.md)
* [`hello_snmp_agent`](https://github.com/nerves-project/nerves-examples/blob/main/hello_snmp_agent/README.md)
* [`hello_snmp_manager`](https://github.com/nerves-project/nerves-examples/blob/main/hello_snmp_manager/README.md)
Expand Down
2 changes: 1 addition & 1 deletion hello_phoenix/README.md → poncho_phoenix/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Hello Phoenix
# Poncho Phoenix

This example demonstrates a basic poncho project for deploying a [Phoenix
Framework]-based application to a Nerves device. A "poncho project" is similar
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ config :ui, UiWeb.Endpoint,
code_reloader: false

config :ui, Ui.Repo,
database: "/data/hello_phoenix/hello_phoenix_ui.db",
database: "/data/poncho_phoenix/poncho_phoenix_ui.db",
pool_size: 5,
show_sensitive_data_on_connection_error: true

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TARGETS="rpi0 rpi rpi2 rpi3 rpi3a rpi4 bbb x86_64 osd32mp1 mangopi_mq_pro"
ELIXIR_PROJECTS="blinky \
hello_gpio \
minimal \
hello_phoenix/firmware \
poncho_phoenix/firmware \
hello_live_view \
hello_wifi \
hello_sqlite \
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-deps-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ find . -name mix.lock -delete
for project in $PROJECTS; do
update_deps $project
done
update_deps hello_phoenix/ui
update_deps poncho_phoenix/ui

echo "Success"

0 comments on commit 57ae8e5

Please sign in to comment.