Setup and update gotosocial.org on fly.io for fedi.cress.space.
This setup has no email support, so administration has to happen via shell (see below).
Some context in my blog: https://madflex.de/setup-fedi-cress-space/
To update to a newer version edit bootstrap.sh
.
run script:
sh bootstrap.sh
and edit config.yaml if new. For updated version look into added settings!
create volume to store sqlite database and attachments
flyctl volumes create gotosocial_data --app fedi-cress-space --region fra --size 1
flyctl deploy --local-only --region fra
Add CNAME records from your.domain
to xxx.fly.dev
to your DNS provider.
And a CNAME for the letsencrypt of fly.io, see https://fly.io/apps/fedi-cress-space/certificates
Login to the instance via ssh
flyctl ssh console
Create a superuser
# create account
/app/gotosocial --config-path /app/config.yaml admin account create --username some_username --email [email protected] --password 'SOME_PASSWORD'
# activate account
/app/gotosocial --config-path /app/config.yaml admin account confirm --username some_username
# give super user rights to account
/app/gotosocial --config-path /app/config.yaml admin account promote --username some_username
First two steps to add "normal" users.