Skip to content

Wobbly-App/wobbly-server

Repository files navigation

Wobbly Server Build Status codecov License: AGPL v3

The backend server for Wobbly, written in Elixir. Runs ejabberd, the XMPP server, with custom extensions.

💻 Up and running

We recommend using VS Code (this repo comes with a few recommended extensions), but it's optional.

Prerequisites - MacOS

  • `brew install elixir gd libyaml
  • (when getting dependencies you may have to prefix the mix command with env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include"

Install and run

  • Install dependencies with mix deps.get
  • Start the server with iex -S mix

Now you can connect with an XMPP client.

🔥 Testing

TODO. Just run mix test. Make sure you have a Postgres database running.

🛠️ Contributing

All CI checks must pass for PRs to be merged. These checks are a lot more likely to succeed if you run mix format (to auto-format code), mix credo (to check code style), and mix test before pushing.

🐛 Debugging

Running into issues with the VS Code debugger? Try deleting the .elixir_ls, deps, and _build folders and restarting VS Code.

🖤 🐈

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages