-
Sign into heroku / or create an account
- Create an api key
-
Sign into github, and fork this repo
- In your new repo, create the following secrets
- HEROKU_API_KEY
the api key you just created
- HEROKU_APP_NAME
the heroku app name (it should not exist)
- HEROKU_EMAIL
the email attached to your heroku account
- HEROKU_API_KEY
- In your new repo, create the following secrets
-
After the secrets are created, push an empty commit to kick off github actions
git commit --allow-empty -m "Empty test commit"
-
Watch the deploy in github actions
-
Once the deploy is finished, go to the heroku app, expand config vars, and grab the value for
ADMIN_USERS
- Also copy your heroku url (can be found under
open app
)
- Also copy your heroku url (can be found under
-
login into the application with that username and password
alerta
-
create a new admin user (be sure to add it as an
admin
) / document the password somewhere safe -
log off and log back in with the new admin user
-
remove all api keys
-
remove all user accounts
-
create a new admin api key
-
Go back to your cli and initialize the heroku cli
- the heroku cli tools
- issue the following commands
- heroku login
- heroku git:remote -a
-
run
heroku config:edit
- remove the lines
ADMIN_KEY=...
ADMIN_USERS=...
- Edit the line
ALERTA_API_KEY=...
- erase the old api key, and insert the one your created in sted 11
- Add the following lines
- DASHBOARD_URL=
- If you want to use pushover
- PUSHOVER_TOKEN=
- PUSHOVER_USER=
- remove the lines
-
Enjoy!