docs: add a mention that test-repo backend can't access to local file… (#3230)

Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
This commit is contained in:
Bruno Duyé 2020-02-12 08:00:53 +01:00 committed by GitHub
parent c4125625f9
commit 19fdc161d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,11 +150,13 @@ With Bitbucket's Implicit Grant, users can authenticate with Bitbucket directly
auth_type: implicit
app_id: # The Key from your Bitbucket settings
```
**Warning:** With Bitbucket implicit grant, the authentication is valid for 1 hour only. After that, the user has to login again, **which can lead to data loss** if the expiration occurs while content is being edited.
## Test Repo Backend
You can use the `test-repo` backend to try out Netlify CMS without connecting to a Git repo. With this backend, you can write and publish content normally, but any changes will disapear when you reload the page. This backend powers the Netlify CMS [demo site](https://cms-demo.netlify.com/).
You can use the `test-repo` backend to try out Netlify CMS without connecting to a Git repo. With this backend, you can write and publish content normally, but any changes will disappear when you reload the page. This backend powers the Netlify CMS [demo site](https://cms-demo.netlify.com/).
**Note:** The `test-repo` backend can't access your local file system, nor does it connect to a Git repo, thus you won't see any existing files while using it.
To enable this backend, add the following lines to your Netlify CMS `config.yml` file: