Rewrite of Bonfire in Elixir, built-to handle events at scale.
When running a release either a Revolt.toml or Environment Variables are required.
WS_PORT- Port the Websocket server will run on (default:4000)MONGODB_URI- Full URI of the MongoDB serverREDIS_URI- Full URI of the Redis ServerRABBIT_HOST- Host of the Rabbit ServerRABBIT_PORT- Port of the Rabbit ServerRABBIT_USERNAME- Username of the Rabbit ServerRABBIT_PASSWORD- Password of the Rabbit Server
By default the Websocket is available on port 14703 at / like Bonfire.
When MIX_ENV is set to PROD a Revolt.toml file will be used if located in the root directory of the project, with a fallback to the environment variables.
- Uses
config/dev.exswhen using mix run. - Run
mix formatbefore push.