Add mention of web-push generate-vapid-keys

This commit is contained in:
staticsafe 2017-11-26 21:41:02 -05:00
parent 923565f273
commit f5268d8ffd

View File

@ -6,7 +6,7 @@ An Ansible playbook to install Mastodon
- Copy group_vars/all.sample to group_vars/all, edit with your own instance's domain/sub-domain
- Copy roles/mastodon-config/templates/.env.production.sample to roles/mastodon-config/templates/.env.production, edit with all relevant details
- The application secrets in that file can be generated using the `pwgen` utility found in the package repositories, exact command would be `pwgen 150 3`
- The VAPID keys can be generated using the web-push package from NPM, install this on your Ansible bastion host or the Mastodon server and put the values in .env.production
- The VAPID keys can be generated using the web-push package from NPM, install this on your Ansible bastion host or the Mastodon server and put the values in .env.production, exact command would be `web-push generate-vapid-keys`.
- Make a hosts file that looks like this:
```