No description
Find a file
Joao P Dubas 94814ce86f
fix: keep phoenix html helpers
On [`phoenix_html` version 4.0.0][0], deprecated functionality was
removed and all `HTML` helpers were moved to `phoenix_html_helpers`.

To keep everything the same, we add the `phoenix_html_helpers` package,
and update the `html_helpers/0` method.

[0]: https://hexdocs.pm/phoenix_html/changelog.html#v4-0-0-2023-12-19
2024-06-20 12:28:50 +00:00
assets Fix a couple bugs 2024-06-04 17:27:51 -04:00
config Fix a couple bugs 2024-06-04 17:27:51 -04:00
lib fix: keep phoenix html helpers 2024-06-20 12:28:50 +00:00
priv Updates for LiveView 1.0-rc 2024-06-04 09:45:35 -04:00
rel Updates for LiveView 1.0-rc 2024-06-04 09:45:35 -04:00
test Finish 1.7 upgrade with ~p 2022-11-17 15:36:58 -05:00
.dockerignore Add latest phx.gen.docker files 2021-12-03 08:54:28 -05:00
.formatter.exs Add heex formatter 2022-03-18 11:13:29 -04:00
.gitignore Test basic uploads 2021-12-14 15:19:03 -05:00
.tool-versions feat(runtimes): upgrade erlang/elixir 2024-06-20 10:36:11 +00:00
Dockerfile feat(runtimes): upgrade erlang/elixir 2024-06-20 10:36:11 +00:00
fly.toml Updates for LiveView 1.0-rc 2024-06-04 09:45:35 -04:00
LICENSE.md Add license 2022-02-02 08:26:25 -05:00
mix.exs fix: keep phoenix html helpers 2024-06-20 12:28:50 +00:00
mix.lock fix: keep phoenix html helpers 2024-06-20 12:28:50 +00:00
README.md Add license 2022-02-02 08:26:25 -05:00

LiveBeats

Play music together with Phoenix LiveView!

Visit livebeats.fly.dev to try it out, or run locally:

  • Create a Github OAuth app from this page

    • Set the app homepage to http://localhost:4000 and Authorization callback URL to http://localhost:4000/oauth/callbacks/github
    • After completing the form, click "Generate a new client secret" to obtain your API secret
  • Export your GitHub Client ID and secret:

    export LIVE_BEATS_GITHUB_CLIENT_ID="..."
    export LIVE_BEATS_GITHUB_CLIENT_SECRET="..."
    
  • Install dependencies with mix deps.get

  • Create and migrate your database with mix ecto.setup

  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more