Just another slack bot.
π©This is not working at all right now, everyting is WIP.
If available in Hex, the package can be installed
by adding myna
to your list of dependencies in mix.exs
:
def deps do
[
{:myna, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/myna.
TODO: termporary env variable setup, this only works at compile time, so need to pull configuration in a differnt way before deploying/distributing.
export MYNA_SLACK_TOKEN="xxxxxxxx"
Commands require a publically accessible call back. You can set up ngrok
to get a public URL and get requests tunneled to your localhost
.
-
Create a free account at ngrok.com
-
Follow the setup instructions
-
... TODO: more steps reg ports etc
How to setup git pre-commit hooks to keep this project nice and clean:
- Install pre-commit if it is not yet installed.
- Run
pre-commit install
βΉοΈ You can regularly upgrade the existing commit hooks to the latest verion by running:
pre-commit autoupdate