mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
📚 Improve frontend configuration docs
This commit is contained in:
committed by
Andrey Antukh
parent
5ff11fdd0a
commit
240de28567
@@ -143,7 +143,7 @@ PENPOT_SREPL_PORT=6062
|
|||||||
**NOTE**: a part of setting this configuration on backend, frontend
|
**NOTE**: a part of setting this configuration on backend, frontend
|
||||||
application will also require configuration tweaks for make it work.
|
application will also require configuration tweaks for make it work.
|
||||||
|
|
||||||
##### Goolge
|
##### Google
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
PENPOT_GOOGLE_CLIENT_ID=<client-id>
|
PENPOT_GOOGLE_CLIENT_ID=<client-id>
|
||||||
@@ -201,8 +201,8 @@ corresponding auth button in the login page
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
var appGoogleClientID = "<google-client-id-here>";
|
var appGoogleClientID = "<google-client-id-here>";
|
||||||
var appGitlabClientID = "<google-client-id-here>";
|
var appGitlabClientID = "<gitlab-client-id-here>";
|
||||||
var appGithubClientID = "<google-client-id-here>";
|
var appGithubClientID = "<github-client-id-here>";
|
||||||
var appLoginWithLDAP = <true|false>;
|
var appLoginWithLDAP = <true|false>;
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -210,6 +210,20 @@ var appLoginWithLDAP = <true|false>;
|
|||||||
respective services.
|
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 ##
|
## Exporter ##
|
||||||
|
|
||||||
The exporter application only have a single configuration option and
|
The exporter application only have a single configuration option and
|
||||||
|
|||||||
Reference in New Issue
Block a user