This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
hometown/README.md

32 lines
1.5 KiB
Markdown
Raw Normal View History

2021-05-27 19:20:18 +00:00
# Hometown
2021-05-07 11:34:21 +00:00
2021-05-27 19:20:18 +00:00
A supported fork of Mastodon that provides local posting and a wider range of content types.
This repository is a copy of [coop-cloud/mastodon](https://git.autonomic.zone/coop-cloud/hometown) but with a fresh README. It seems like a good idea to keep the deployment separate since the apps may diverge in their deployment or configuration instructions at some point despite best wishes to remain as mainline Mastodon as possible.
2021-05-07 11:34:21 +00:00
<!-- metadata -->
2021-05-27 19:20:18 +00:00
- **Category**:
- **Status**:
- **Image**: [`decentral1se/hometown`](https://hub.docker.com/r/decentral1se/hometown)
- **Healthcheck**:
- **Backups**:
- **Email**:
- **Tests**:
- **SSO**:
2021-05-07 11:34:21 +00:00
<!-- endmetadata -->
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
2021-05-27 19:20:18 +00:00
3. `abra app new hometown`
2021-05-07 11:34:21 +00:00
4. `abra app YOURAPPDOMAIN config` - be sure to change `DOMAIN` to something that resolves to
2021-05-27 19:20:18 +00:00
your Docker swarm box. Install the npm package webpush to create VAPID keys `npm install web-push -g && web-push generate-vapid-keys`.
2021-05-08 20:55:44 +00:00
5. `abra app YOURAPPDOMAIN deploy --no-domain-poll`. App will fail for now.
2021-05-27 19:20:18 +00:00
6. `abra app hometown run streaming rake db:setup`
7. Open the configured domain in your browser to finish set-up. To make an admin account `abra app hometown run web "bin/tootctl accounts create coolusername --email helo@autonomic.zone --confirmed --role admin"`
2021-05-07 11:34:21 +00:00
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik