Fix administration and development docs

This commit is contained in:
Sean King
2020-08-30 13:43:40 -06:00
parent 55fe6eb179
commit d7bfe3305b
8 changed files with 6 additions and 53 deletions

View File

@@ -0,0 +1,20 @@
# 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.