Round-robin invites to the official Elixir Slack.
Add a new invite token with the following steps:
-
Click on "Invite People" in the Elixir dropdown menu:
-
Click on "Edit link settings" to change the link expiration date:
-
Select "Never expires" from the expiration select menu:
-
Click "Copy invite link", paste it somewhere, and note the token at the end of the URL.
-
Add the token to the
tokens
map inruntime.exs
along with the current date:tokens = %{ "zt-216sp1w4g-MHgJlFeJKTBCzPejZj7_tw" => "2024-01-24", ..., "YOUR NEW TOKEN HERE" => "DATE HERE" }
Build and run the app locally:
MIX_ENV=prod mix do deps.get, release
_build/prod/rel/elixir_slack/bin/elixir_slack start
Run the app within the docker container locally:
docker build -t elixir_slack .
docker run --env PORT=8000 -p 8000:8000 elixir_slack
Or, deploy to fly by changing the name in fly.toml
and then run:
fly launch
MIT. See the License