aboutsummaryrefslogblamecommitdiffstats
path: root/meta.sr.ht/installation.md
blob: c8df4f17243f1bb550ae94fe5c4e2638376ca4f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                              


                                                                                



                                                                           




















                                                                              

                                                                              
---
title: meta.sr.ht installation
---

meta.sr.ht is the central authentication and account service for the sr.ht
network, and a working meta.sr.ht installation is a basic requirement of running
any other sr.ht software.

# Installation

meta.sr.ht is a standard sr.ht web service and can be installed through the
[standard procedure](/installation.md).

## Daemons

- `meta.sr.ht`: the web service
- `meta.sr.ht-webhooks`: webhook delivery service

## Cronjobs

- `metasrht-daily`: purges old audit log entries and runs billing; run daily.

## Billing configuration

To enable billing, consult the `meta.sr.ht::billing` config section. You will
need a working Stripe account for payment processing, and may need to install
the additional `meta.sr.ht-billing` package to obtain additional dependencies.

# Post-installation tasks

## Creating users & admins

Use the `metasrht-manageuser` script. `metasrht-manageuser -t admin -e <email>
<username>` will create an administrator.