docs: added install docs

This commit is contained in:
Roxie Gibson 2021-05-08 21:55:44 +01:00
parent 8f88c180d9
commit 1e5c3996b0
Signed by untrusted user: roxxers
GPG Key ID: 5D0140EDEE123F4D
1 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ Your self-hosted, globally interconnected microblogging community
<!-- metadata -->
* **Category**:
* **Status**:
* **Image**: [`mastodon`](https://hub.docker.com/r/tootsuite/mastodon)
* **Image**: [`tootsuite/mastodon`](https://hub.docker.com/r/tootsuite/mastodon)
* **Healthcheck**:
* **Backups**:
* **Email**:
@ -17,12 +17,12 @@ Your self-hosted, globally interconnected microblogging community
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new mastodon --secrets` (optionally with `--pass` if you'd like
to save secrets in `pass`)
3. `abra app new mastodon`
4. `abra app YOURAPPDOMAIN config` - be sure to change `DOMAIN` to something that resolves to
your Docker swarm box
5. `abra app YOURAPPDOMAIN deploy`
6. Open the configured domain in your browser to finish set-up
your Docker swarm box. Install the npm package webpush to create VAPID keys `npm install web-push -g && web-push generate-vapid-keys`.
5. `abra app YOURAPPDOMAIN deploy --no-domain-poll`. App will fail for now.
6. `abra app mastodon run streaming rake db:setup`
7. Open the configured domain in your browser to finish set-up. To make an admin account `abra app mastodon run web "bin/tootctl accounts create coolusername --email helo@autonomic.zone --confirmed --role admin"`
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik