sforkowany z mirror/soapbox
21 wiersze
531 B
Markdown
21 wiersze
531 B
Markdown
# Developing against a live backend
|
|
|
|
You can also run Soapbox FE locally with a live production server as the backend.
|
|
|
|
> **Note:** Whether or not this works depends on your production server. It does not seem to work with Cloudflare or VanwaNet.
|
|
|
|
To do so, just copy the env file:
|
|
|
|
```
|
|
cp .env.example .env
|
|
```
|
|
|
|
And edit `.env`, setting the configuration like this:
|
|
|
|
```
|
|
BACKEND_URL="https://pleroma.example.com"
|
|
PROXY_HTTPS_INSECURE=true
|
|
```
|
|
|
|
You will need to restart the local development server for the changes to take effect.
|