Pixelfed: Difference between revisions

Onny (talk | contribs)
Initial page
 
Onny (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://pixelfed.org/ Pixelfed] is a free and ethical photo sharing platform, powered by ActivityPub federation.
=== Setup ===
=== Setup ===
A minimal setup of Pixelfed can be enabled using following example.<syntaxhighlight lang="nixos">environment.etc."pixelfed-secret.env".text = "APP_KEY=adKK9EcY8Hcj3PLU7rzG9rJ6KKTOtYfA";
An instance of Pixelfed can be enabled on the domain <code>pics.example.org</code> using following example.<syntaxhighlight lang="nixos">environment.etc."pixelfed-secret.env".text = "APP_KEY=adKK9EcY8Hcj3PLU7rzG9rJ6KKTOtYfA";


services.pixelfed = {
services.pixelfed = {
Line 11: Line 13:
   secretFile = "/etc/pixelfed-secret.env";
   secretFile = "/etc/pixelfed-secret.env";
};</syntaxhighlight>Reference [[Nginx]] page for instructions on how to configure SSL and ACME.
};</syntaxhighlight>Reference [[Nginx]] page for instructions on how to configure SSL and ACME.
To create an administrator account that can also be used to log into Pixelfed, run the following commands.<syntaxhighlight lang="bash">
pixelfed-manage user:create --name=test --username=test --email=test@test.com --password=test
pixelfed-manage user:admin test
</syntaxhighlight>
[[Category:Web Applications]]