#!/usr/bin/env bash

post_install() {
    echo <<<EOF
Next steps:

    - Add `include /etc/nginx/conf.d/gnu-social.conf` to your
    `/etc/nginx/nginx.conf`
    - Change `%hostname%` to match the desired hostname in `/etc/nginx/conf.d/gnu-social.conf`
    - Add group write permission for `/var/www/gnu-social` to match the user nginx is using
    - Configure a PostgreSQL or MariaDB user
    - Run `nginx -s reload`
    - Visit https://<yourhostname>/install and follow the instructions

    See https://docs.gnusocial.rocks/administrator/install/no_docker_shell.html
    if you need help, or contact the developers in #social IRC
EOF
}
