include frontend installation document on all install guides
This commit is contained in:
parent
9cb41b6d7b
commit
25111bb407
|
@ -221,6 +221,8 @@ If your instance is up and running, you can create your first user with administ
|
||||||
doas -u akkoma env MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
doas -u akkoma env MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{! installation/frontends.include !}
|
||||||
|
|
||||||
#### Further reading
|
#### Further reading
|
||||||
|
|
||||||
{! installation/further_reading.include !}
|
{! installation/further_reading.include !}
|
||||||
|
|
|
@ -212,6 +212,8 @@ If your instance is up and running, you can create your first user with administ
|
||||||
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{! installation/frontends.include !}
|
||||||
|
|
||||||
#### Further reading
|
#### Further reading
|
||||||
|
|
||||||
{! installation/further_reading.include !}
|
{! installation/further_reading.include !}
|
||||||
|
|
|
@ -175,6 +175,8 @@ If your instance is up and running, you can create your first user with administ
|
||||||
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{! installation/frontends.include !}
|
||||||
|
|
||||||
#### Further reading
|
#### Further reading
|
||||||
|
|
||||||
{! installation/further_reading.include !}
|
{! installation/further_reading.include !}
|
||||||
|
|
|
@ -199,6 +199,8 @@ If your instance is up and running, you can create your first user with administ
|
||||||
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{! installation/frontends.include !}
|
||||||
|
|
||||||
#### Further reading
|
#### Further reading
|
||||||
|
|
||||||
{! installation/further_reading.include !}
|
{! installation/further_reading.include !}
|
||||||
|
|
|
@ -206,6 +206,9 @@ If your instance is up and running, you can create your first user with administ
|
||||||
```shell
|
```shell
|
||||||
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{! installation/frontends.include !}
|
||||||
|
|
||||||
## Conclusion
|
## Conclusion
|
||||||
|
|
||||||
Restart nginx with `# service nginx restart` and you should be up and running.
|
Restart nginx with `# service nginx restart` and you should be up and running.
|
||||||
|
|
25
docs/docs/installation/frontends.include
Normal file
25
docs/docs/installation/frontends.include
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
#### 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)
|
||||||
|
|
|
@ -293,6 +293,8 @@ akkoma$ MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
||||||
|
|
||||||
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.
|
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
|
#### Further reading
|
||||||
|
|
||||||
{! installation/further_reading.include !}
|
{! installation/further_reading.include !}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
# Migrating to Akkoma
|
# Migrating to Akkoma
|
||||||
|
|
||||||
**Akkoma does not currently have a stable release, until 3.0, all builds should be considered "develop"**
|
|
||||||
|
|
||||||
## Why should you migrate?
|
## Why should you migrate?
|
||||||
|
|
||||||
aside from actually responsive maintainer(s)? let's lookie here, we've got:
|
aside from actually responsive maintainer(s)? let's lookie here, we've got:
|
||||||
|
@ -11,6 +9,8 @@ aside from actually responsive maintainer(s)? let's lookie here, we've got:
|
||||||
- elasticsearch support (because pleroma search is GARBAGE)
|
- elasticsearch support (because pleroma search is GARBAGE)
|
||||||
- latest develop pleroma-fe additions
|
- latest develop pleroma-fe additions
|
||||||
- local-only posting
|
- 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
|
- probably more, this is like 3.5 years of IHBA additions finally compiled
|
||||||
|
|
||||||
## Actually migrating
|
## Actually migrating
|
||||||
|
@ -43,14 +43,14 @@ This will just be setting the update URL - find your flavour from the [mapping o
|
||||||
```bash
|
```bash
|
||||||
export FLAVOUR=[the flavour you found above]
|
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
|
./bin/pleroma_ctl migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
Then restart. When updating in the future, you canjust use
|
Then restart. When updating in the future, you canjust use
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./bin/pleroma_ctl update --branch develop
|
./bin/pleroma_ctl update --branch stable
|
||||||
```
|
```
|
||||||
|
|
||||||
## Frontend changes
|
## Frontend changes
|
||||||
|
@ -62,16 +62,17 @@ your upgrade path here depends on your setup
|
||||||
|
|
||||||
You'll need to run a couple of commands,
|
You'll need to run a couple of commands,
|
||||||
|
|
||||||
```bash
|
=== "OTP"
|
||||||
# From source
|
```sh
|
||||||
mix pleroma.frontend install pleroma-fe
|
./bin/pleroma_ctl frontend install pleroma-fe --ref stable
|
||||||
# you'll probably want this too
|
# and also, if desired
|
||||||
mix pleroma.frontend install admin-fe
|
./bin/pleroma_ctl frontend install admin-fe --ref stable
|
||||||
|
```
|
||||||
|
|
||||||
# OTP
|
=== "From Source"
|
||||||
./bin/pleroma_ctl frontend install pleroma-fe
|
```sh
|
||||||
# you'll probably want this too
|
mix pleroma.frontend install pleroma-fe --ref stable
|
||||||
./bin/pleroma_ctl frontend install admin-fe
|
mix pleroma.frontend install admin-fe --ref stable
|
||||||
```
|
```
|
||||||
|
|
||||||
### I've run the mix task to install a frontend
|
### I've run the mix task to install a frontend
|
||||||
|
|
|
@ -202,6 +202,8 @@ incorrect timestamps. You should have ntpd running.
|
||||||
|
|
||||||
* <https://catgirl.science>
|
* <https://catgirl.science>
|
||||||
|
|
||||||
|
{! installation/frontends.include !}
|
||||||
|
|
||||||
#### Further reading
|
#### Further reading
|
||||||
|
|
||||||
{! installation/further_reading.include !}
|
{! installation/further_reading.include !}
|
||||||
|
|
|
@ -250,6 +250,8 @@ If your instance is up and running, you can create your first user with administ
|
||||||
LC_ALL=en_US.UTF-8 MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
LC_ALL=en_US.UTF-8 MIX_ENV=prod mix pleroma.user new <username> <your@emailaddress> --admin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{! installation/frontends.include !}
|
||||||
|
|
||||||
#### Further reading
|
#### Further reading
|
||||||
|
|
||||||
{! installation/further_reading.include !}
|
{! installation/further_reading.include !}
|
||||||
|
|
|
@ -306,6 +306,8 @@ su akkoma -s $SHELL -lc "./bin/pleroma_ctl user new joeuser joeuser@sld.tld --ad
|
||||||
```
|
```
|
||||||
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.
|
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
|
## Further reading
|
||||||
|
|
||||||
{! installation/further_reading.include !}
|
{! installation/further_reading.include !}
|
||||||
|
|
|
@ -279,6 +279,7 @@ After that, run the `pleroma_ctl migrate` command as usual to perform database m
|
||||||
|
|
||||||
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.
|
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 !}
|
{! installation/further_reading.include !}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue