-
Run
go mod tidy. -
Create
.envfile fromexample.envand set values and secrets to.env. -
Source the
.envfile.set -a && . .env && set +a
-
Start MongoDB.
sudo -E ./run-mongo.sh
-
Start
ngrok(Need to install before running)ngrok http 8080
-
Run the program.
go run samplelinebot
-
Stop MongoDB
sudo -E ./run-mongo.sh stop
-
Remove MongoDB
sudo -E ./run-mongo.sh remove