@ -9,7 +9,7 @@ order: 31
|
||||
Installing Nicolium as a frontend for Mitra is no different from installing the default Mitra Web frontend. Just extract the Nicolium files into the directory specified in `config.yaml` under `web_client_dir`, by default `/usr/share/mitra/www`.
|
||||
|
||||
```bash
|
||||
curl -O https://pl.mkljczk.pl/pl-fe.zip
|
||||
curl -O https://web.nicolium.app/release.zip
|
||||
unzip pl-fe.zip -d /usr/share/mitra/www
|
||||
rm pl-fe.zip
|
||||
```
|
||||
@ -11,7 +11,7 @@ order: 32
|
||||
The most straightforward way to install Nicolium as a frontend for Pleroma or Akkoma is to simply download it and place its files in the `/instance/static` directory of your Pleroma/Akkoma installation (usually `/opt/pleroma/instance/static` or `/opt/akkoma/instance/static`, accordingly).
|
||||
|
||||
```bash
|
||||
curl -O https://pl.mkljczk.pl/pl-fe.zip
|
||||
curl -O https://web.nicolium.app/release.zip
|
||||
unzip pl-fe.zip -d /opt/pleroma/instance/static/
|
||||
rm pl-fe.zip
|
||||
```
|
||||
@ -24,13 +24,13 @@ To install it from CLI, use:
|
||||
|
||||
### OTP
|
||||
```bash
|
||||
./bin/pleroma_ctl frontend install pl-fe --ref develop --build-url https://pl.mkljczk.pl/pl-fe.zip --build-dir .
|
||||
./bin/pleroma_ctl frontend install pl-fe --ref release --build-url https://web.nicolium.app/release.zip --build-dir .
|
||||
```
|
||||
|
||||
### From Source
|
||||
|
||||
```bash
|
||||
mix pleroma.frontend install pl-fe --ref develop --build-url https://pl.mkljczk.pl/pl-fe.zip --build-dir .
|
||||
mix pleroma.frontend install pl-fe --ref release --build-url https://web.nicolium.app/release.zip --build-dir .
|
||||
```
|
||||
|
||||
It is now possible to set Nicolium as the primary frontend in the configuration file or via AdminFE:
|
||||
@ -38,7 +38,7 @@ It is now possible to set Nicolium as the primary frontend in the configuration
|
||||
config :pleroma, :frontends,
|
||||
primary: %{
|
||||
"name" => "pl-fe",
|
||||
"ref" => "develop"
|
||||
"ref" => "release"
|
||||
},
|
||||
...
|
||||
```
|
||||
|
||||
@ -19,4 +19,4 @@ nicolium.example.com {
|
||||
}
|
||||
```
|
||||
|
||||
This assumes you're serving Nicolium under the nicolium.example.com domain and the Nicolium files are located in `/var/www/nicolium`. You can download Nicolium from `https://pl.mkljczk.pl/pl-fe.zip` or [build it from source](../building/nicolium.md).
|
||||
This assumes you're serving Nicolium under the nicolium.example.com domain and the Nicolium files are located in `/var/www/nicolium`. You can download Nicolium from `https://web.nicolium.app/release.zip` or [build it from source](../building/nicolium.md).
|
||||
Reference in New Issue
Block a user