### `:libre_translate`
- `:url` - URL of LibreTranslate instance
-- `:api_key` - API key for LibreTranslate
\ No newline at end of file
+- `:api_key` - API key for LibreTranslate
doas -u akkoma env MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
```
+{! installation/frontends.include !}
+
#### Further reading
{! installation/further_reading.include !}
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
```
+{! installation/frontends.include !}
+
#### Further reading
{! installation/further_reading.include !}
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
```
+{! installation/frontends.include !}
+
#### Further reading
{! installation/further_reading.include !}
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
```
+{! installation/frontends.include !}
+
#### Further reading
{! installation/further_reading.include !}
```shell
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
```
+
+{! installation/frontends.include !}
+
## Conclusion
Restart nginx with `# service nginx restart` and you should be up and running.
--- /dev/null
+#### Installing Frontends
+
+Once your backend server is functional, you'll also want to
+probably install frontends.
+
+These are no longer bundled with the distribution and need an extra
+command to install.
+
+For most installations, the following will suffice:
+
+=== "OTP"
+ ```sh
+ ./bin/pleroma_ctl frontend install pleroma-fe --ref stable
+ # and also, if desired
+ ./bin/pleroma_ctl frontend install admin-fe --ref stable
+ ```
+
+=== "From Source"
+ ```sh
+ mix pleroma.frontend install pleroma-fe --ref stable
+ mix pleroma.frontend install admin-fe --ref stable
+ ```
+
+For more customised installations, refer to [Frontend Management](../../configuration/frontend_management)
+
If you opted to allow sudo for the `akkoma` user but would like to remove the ability for greater security, now might be a good time to edit `/etc/sudoers` and/or change the groups the `akkoma` user belongs to. Be sure to restart the akkoma service afterwards to ensure it picks up on the changes.
+{! installation/frontends.include !}
+
#### Further reading
{! installation/further_reading.include !}
# Migrating to Akkoma
-**Akkoma does not currently have a stable release, until 3.0, all builds should be considered "develop"**
-
## Why should you migrate?
aside from actually responsive maintainer(s)? let's lookie here, we've got:
- elasticsearch support (because pleroma search is GARBAGE)
- latest develop pleroma-fe additions
- local-only posting
+- automatic post translation
+- the mastodon frontend back in all its glory
- probably more, this is like 3.5 years of IHBA additions finally compiled
## Actually migrating
```bash
export FLAVOUR=[the flavour you found above]
-./bin/pleroma_ctl update --zip-url https://akkoma-updates.s3-website.fr-par.scw.cloud/develop/akkoma-$FLAVOUR.zip
+./bin/pleroma_ctl update --zip-url https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-$FLAVOUR.zip
./bin/pleroma_ctl migrate
```
Then restart. When updating in the future, you canjust use
```bash
-./bin/pleroma_ctl update --branch develop
+./bin/pleroma_ctl update --branch stable
```
## Frontend changes
You'll need to run a couple of commands,
-```bash
-# From source
-mix pleroma.frontend install pleroma-fe
-# you'll probably want this too
-mix pleroma.frontend install admin-fe
-
-# OTP
-./bin/pleroma_ctl frontend install pleroma-fe
-# you'll probably want this too
-./bin/pleroma_ctl frontend install admin-fe
-```
+=== "OTP"
+ ```sh
+ ./bin/pleroma_ctl frontend install pleroma-fe --ref stable
+ # and also, if desired
+ ./bin/pleroma_ctl frontend install admin-fe --ref stable
+ ```
+
+=== "From Source"
+ ```sh
+ mix pleroma.frontend install pleroma-fe --ref stable
+ mix pleroma.frontend install admin-fe --ref stable
+ ```
### I've run the mix task to install a frontend
* <https://catgirl.science>
+{! installation/frontends.include !}
+
#### Further reading
{! installation/further_reading.include !}
LC_ALL=en_US.UTF-8 MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
```
+{! installation/frontends.include !}
+
#### Further reading
{! installation/further_reading.include !}
```
This will create an account withe the username of 'joeuser' with the email address of joeuser@sld.tld, and set that user's account as an admin. This will result in a link that you can paste into the browser, which logs you in and enables you to set the password.
+{! installation/frontends.include !}
+
## Further reading
{! installation/further_reading.include !}
As it currently stands, your OTP build will only be compatible for the specific RedHat distribution you've built it on. Fedora builds only work on Fedora, Centos builds only on Centos, RedHat builds only on RedHat. Secondly, for Fedora, they will also be bound to the specific Fedora release. This is because different releases of Fedora may have significant changes made in some of the required packages and libraries.
+{! installation/frontends.include !}
{! installation/further_reading.include !}