sforkowany z mirror/soapbox
Maybe not so heavy on the emoji
rodzic
7c9a85e934
commit
630bed980c
|
@ -8,7 +8,7 @@ It's part of the [Soapbox](https://soapbox.pub) project.
|
|||
|
||||
It is based on [Gab Social](https://code.gab.com/gab/social/gab-social)'s frontend which is in turn based on [Mastodon](https://github.com/tootsuite/mastodon/)'s frontend.
|
||||
|
||||
## :bulb: How does it work?
|
||||
## How does it work?
|
||||
|
||||
soapbox-fe is a [single-page application (SPA)](https://en.wikipedia.org/wiki/Single-page_application) that runs entirely in the browser with JavaScript.
|
||||
|
||||
|
@ -39,7 +39,7 @@ It's not necessary to restart the Pleroma service.
|
|||
|
||||
To remove soapbox-fe and revert to the default pleroma-fe, simply `rm -r /opt/pleroma/instance`.
|
||||
|
||||
# :computer: Running locally
|
||||
# Running locally
|
||||
|
||||
To get it running, just clone the repo:
|
||||
|
||||
|
@ -99,7 +99,7 @@ PROXY_HTTPS_INSECURE=true
|
|||
|
||||
You will need to restart the local development server for the changes to take effect.
|
||||
|
||||
## :elephant: Using with Mastodon
|
||||
## Using with Mastodon
|
||||
|
||||
Local Mastodon runs on port 3000 by default, so you will need to edit the `.env` as described above and set it like this:
|
||||
|
||||
|
@ -120,7 +120,7 @@ window.localStorage.setItem('soapbox:auth:user', JSON.stringify({access_token: "
|
|||
Replace `XXX` with your access token.
|
||||
Finally, refresh the page, and you should be logged in.
|
||||
|
||||
## :wrench: Local Dev Configuration
|
||||
## Local Dev Configuration
|
||||
|
||||
The following configuration variables are supported supported in local development.
|
||||
Edit `.env` to set them.
|
||||
|
|
Ładowanie…
Reference in New Issue