No description
Find a file
Nolan Darilek 7b48c2fbaf Further simplify post-route handler.
* Use `HtmlElement.tabIndex` directly rather than going through attributes.
* Always restore `tabIndex` after focus.
* Remove `setTimeout` to simplify implementation.

This does have a disadvantage in that it leaves unnecessary `tabindex="1"` instances around. On the other hand, it does simplify the implementation and get the job done' so is probably a more clear example of how to do this correctly.
2021-12-22 12:41:19 -06:00
assets Further simplify post-route handler. 2021-12-22 12:41:19 -06:00
config Test basic uploads 2021-12-14 15:19:03 -05:00
lib Do not focus outline h1 in title bar 2021-12-15 12:48:05 -05:00
priv Rename songs_number to songs_count and refactor error messages 2021-11-19 10:51:50 -05:00
rel/overlays/bin Bump for latest gen.release 2021-12-08 13:07:39 -05:00
test TODO 2021-12-14 21:09:36 -05:00
.dockerignore Add latest phx.gen.docker files 2021-12-03 08:54:28 -05:00
.formatter.exs Make it so 🚀 2021-09-02 14:00:57 -04:00
.gitignore Test basic uploads 2021-12-14 15:19:03 -05:00
Dockerfile Bump for latest gen.release 2021-12-08 13:07:39 -05:00
fly.toml Bump for latest gen.release 2021-12-08 13:07:39 -05:00
mix.exs Fix deps 2021-12-03 08:56:33 -05:00
mix.lock Add latest phx.gen.docker files 2021-12-03 08:54:28 -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