An open API service indexing awesome lists of open source software.

https://github.com/mfa/fedi-cress-space

gotosocial deployed on fly.io
https://github.com/mfa/fedi-cress-space

Last synced: 9 months ago
JSON representation

gotosocial deployed on fly.io

Awesome Lists containing this project

README

          

# fedi.cress.space

## about

Setup and update [gotosocial.org](https://gotosocial.org) on [fly.io](https://fly.io) for [fedi.cress.space](https://fedi.cress.space).

This setup has no email support, so administration has to happen via shell (see below).

Some context in my blog:

## bootstrap / update

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!

## setup for fly.io

create volume to store sqlite database and attachments
```
flyctl volumes create gotosocial_data --app fedi-cress-space --region fra --size 1
```

## deploy

```
flyctl deploy --local-only --region fra
```

## DNS / SSL

Add CNAME records from `your.domain` to `xxx.fly.dev` to your DNS provider.
And a CNAME for the letsencrypt of [fly.io](https://fly.io), see

## add user(s) to instance

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 some_email@whatever.org --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.