Skip to content

ravensiris/live_beats

 
 

Repository files navigation

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

About

Using as a test app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 83.7%
  • CSS 5.2%
  • HTML 5.2%
  • JavaScript 4.4%
  • Dockerfile 1.0%
  • Nix 0.4%
  • Other 0.1%