Sure, here's a tutorial on how to install Indieauth on FreeBSD Latest:
Prerequisites
Before installing Indieauth, you'll need to have a web server setup with PHP and SSL already configured. In addition, you'll need to have administrative access to the server.
Step-by-Step Guide
SSH into your FreeBSD server as the root user.
Install PHP, required PHP extensions and required dependencies:
pkg install php74 php74-mbstring php74-curl php74-json php74-openssl php74-pdo php74-pdo_mysql pkg install composerInstall Git:
pkg install gitClone the Indieauth repository from GitHub:
git clone https://github.com/aaronpk/IndieAuth.gitInstall the PHP dependencies:
cd IndieAuth composer installConfigure your Indieauth deployment by creating a
.envfile. Use the following recommendations for the settings:
APP_ENV=prod
APP_DEBUG=0
APP_SECRET=<Choose a random secret string>
DATABASE_URL=mysql://<MYSQL_USER>:<MYSQL_PASSWORD>@<MYSQL_HOST>/<MYSQL_DBNAME>
SITE_NAME=<Name of site>
SITE_URL=<URL of site>
ACCOUNT_NAME=<Name of account on site>
ACCOUNT_URL=<URL of account on site>
INDIEAUTH_CLIENT_ID=<IndieAuth Client ID>
INDIEAUTH_CLIENT_SECRET=<IndieAuth Client Secret>
INDIEAUTH_REDIRECT_URI=<IndieAuth Redirect URI>
INDIEAUTH_AUTHORIZATION_ENDPOINT=https://indie.auth.com/auth
INDIEAUTH_TOKEN_ENDPOINT=https://indie.auth.com/token
INDIEAUTH_MICROPUB_ENDPOINT=https://indie.auth.com/micropub
INDIEAUTH_MICROSUB_ENDPOINT=https://indie.auth.com/microsub
Note: Replace <MYSQL_USER>, <MYSQL_PASSWORD>, <MYSQL_HOST> and <MYSQL_DBNAME> with your own values.
Setup the database:
php bin/console doctrine:database:create php bin/console doctrine:schema:update --forceConfigure your web server to point to the
/webdirectory of the Indieauth installation as the document root.Restart your web server.
Your Indieauth deployment is now ready to use. Access the site via the browser and you should see the Indieauth page.
That's it! You have successfully installed Indieauth on your FreeBSD server.