launch development server with:
docker-compose up -d
nix shell nixpkgs#cloudflared -c cloudflared tunnel --url http://localhost:3333
navigate to your app management dashboard on slack, and slack the bot application that is being developed.
under the Features sidebar, there is a menu option called Slash Commands
. Select that menu option for a list of Slash commands for
that current bot.
Edit the command that is being developed to use the ngrok url, from
our screenshot it is: https://3475afdd4195.ngrok.io
. Note that our
web server serves slash commands under the path /slash
.
save your changes and test your command in slack
docker-compose up --build -d app
docker-compose logs -tf app
docker-compose restart ngrok
yes y | flux bootstrap git \
--url=ssh://git@github.com/r33drichards/lucksacks.git \
--branch=main \
--path=charts \
--namespace=default \
--private-key-file=/Users/robertwendt/.ssh/id_ed25519
# delete if it already exists
kubectl delete secret lucksacks-secret
# create secret from .env file
kubectl create secret generic lucksacks-secret --from-env-file=.env