Elixir websocket gateway for real-time Sync-party site operation
This tutorial will help you run server locally
Requires Elixir >= 1.13
- Clone the repo
git clone https://github.com/yakimenko73/sync-party-gateway.git
- Get project deps
mix deps.get
- Run in dev mode with
iex -S mix
The HTTP server is listening on port 4000
by default. The websocket endpoint is located at ws://localhost:4000/ws
Connected clients are closed if inactive longer than 60s
. This can be changed in config/config.exs together with port and ws_endpoint.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/amazing-feature
) - Commit your Changes (
git commit -m 'Add some amazing-feature'
) - Push to the Branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Twitter - @masterslave_
- Email - [email protected]