0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

📚 Improve frontend configuration docs

This commit is contained in:
Mathieu Brunot 2021-02-01 00:06:05 +01:00 committed by Andrey Antukh
parent 5ff11fdd0a
commit 240de28567

View file

@ -143,7 +143,7 @@ PENPOT_SREPL_PORT=6062
**NOTE**: a part of setting this configuration on backend, frontend
application will also require configuration tweaks for make it work.
##### Goolge
##### Google
```sh
PENPOT_GOOGLE_CLIENT_ID=<client-id>
@ -201,8 +201,8 @@ corresponding auth button in the login page
```js
var appGoogleClientID = "<google-client-id-here>";
var appGitlabClientID = "<google-client-id-here>";
var appGithubClientID = "<google-client-id-here>";
var appGitlabClientID = "<gitlab-client-id-here>";
var appGithubClientID = "<github-client-id-here>";
var appLoginWithLDAP = <true|false>;
```
@ -210,6 +210,20 @@ var appLoginWithLDAP = <true|false>;
respective services.
### Demo warning and Demo users
It is possible to display a warning message on a demo environment and
disable/enable demo users:
```js
var appDemoWarning = <true|false>;
var appAllowDemoUsers = <true|false>;
```
**NOTE:** The configuration for demo users should match the backend
configuration.
## Exporter ##
The exporter application only have a single configuration option and