Go to file
2021-11-22 10:38:27 -05:00
assets Show connection status flash 2021-11-22 09:24:41 -05:00
config Allow configurable upload dir per env 2021-11-16 22:11:11 -05:00
lib Resolve conflicts 2021-11-22 10:37:56 -05: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 Deploy and presence stub 2021-11-16 11:58:28 -05:00

LiveBeats

Play music together with Phoenix LiveView!

Visit todo to try it out, or run locally:

  • Create a Github OAuth app

    • 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