The backend server for Wobbly, written in Elixir. Runs ejabberd, the XMPP server, with custom extensions.
We recommend using VS Code (this repo comes with a few recommended extensions), but it's optional.
- `brew install elixir gd libyaml
- (when getting dependencies you may have to prefix the
mix
command withenv LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include"
- Install dependencies with
mix deps.get
- Start the server with
iex -S mix
Now you can connect with an XMPP client.
TODO.
Just run mix test
. Make sure you have a Postgres database running.
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.
Running into issues with the VS Code debugger? Try deleting the .elixir_ls
, deps
, and _build
folders and restarting VS Code.
🖤 🐈