To work on the site, you can either build and run Podman containers, or you can build and run a binary.
build_dev_instance.sh
- Copy
.env.template
to.env.container
and fill it out run_dev_instance.sh
For the Slack request URL, it is necessary to have an HTTPS connection. For this you can use ngrok
:
- Download the
ngrok
package - Run
ngrok http 8080
in ascreen
session, or in a terminal window - Use the Forwarding URL (something like
https://<#####>.ngrok.io
) to access the local instance
The Forwarding URL + /actions
is now the Slack request URL as well. You can also use localhost:4040/
to access your ngrok
dashboard and monitor any requests to the instance.