mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 20:09:04 -05:00
📚 Improve frontend configuration docs
This commit is contained in:
parent
5ff11fdd0a
commit
240de28567
1 changed files with 17 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue