No description
Find a file
Nolan Darilek 566a574c0a Initial attempt at accessibly announcing route updates.
* Add handler for `phx:page-loading-stop` that focuses either the first `<h1>` child of `<main>`, or `<main>` directly if no child `<h1>` is present. Make this our focus target.
* Cache original `tabindex` of target, if any, and assign it a temporary `tabindex1 of -1.
* Focus the target.
* After a long timeout, either restore the target's original `tabindex` or remove the temporary -1 value. Short timeouts didn't seem to perform the focus step. Neither did nested `requestAnimationFrame` calls.
2021-11-22 15:25:41 -06:00
assets Initial attempt at accessibly announcing route updates. 2021-11-22 15:25:41 -06:00
config Allow configurable upload dir per env 2021-11-16 22:11:11 -05:00
lib Add alert role on connection status so it is read automatically on change. 2021-11-22 15:24:10 -06:00
priv Rename songs_number to songs_count and refactor error messages 2021-11-19 10:51:50 -05:00
rel Deploy and presence stub 2021-11-16 11:58:28 -05:00
test Rename SongLive modules to ProfileLive 2021-11-22 09:57:24 -05:00
.dockerignore Deploy and presence stub 2021-11-16 11:58:28 -05:00
.formatter.exs Make it so 🚀 2021-09-02 14:00:57 -04:00
.gitignore Lock files behind temporary token 2021-11-05 23:02:31 -04:00
Dockerfile Deploy and presence stub 2021-11-16 11:58:28 -05:00
fly.toml Increase connections 2021-11-18 10:40:05 -05:00
mix.exs Use LV master 2021-11-17 13:15:30 -05:00
mix.lock Fixup flash hiding 2021-11-19 09:55:26 -05:00
README.md Link directly to app creation page in README. 2021-11-16 12:30:06 -06:00

LiveBeats

Play music together with Phoenix LiveView!

Visit todo 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