No description
Find a file
Joao P Dubas e9c85a1436
feat(runtimes): upgrade erlang/elixir
Bump runtimes:

* `erlang` from 24.0.1 to 26.2.5
* `elixir` from 1.14.0 to 1.16.3

Also, use the current stable `debian` release (`bookworm`).

Finally, set local version for `erlang`/`elixir`, with `.tool-versions`.
2024-06-20 10:36:11 +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 Add back lock now that db supports it 2024-06-05 23:07:22 -04: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 Updates for LiveView 1.0-rc 2024-06-04 09:45:35 -04:00
mix.lock Bump LV 2024-06-05 10:17:37 -04: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