static-cms/website/content/docs/test-backend.mdx
Daniel Lautzenheiser c55d1f912f
Improved types and updated documentation (#71)
* v1.0.0-alpha44
2022-11-07 10:27:58 -05:00

30 lines
755 B
Plaintext

---
group: Backends
title: Test Backend
weight: 60
---
- **Name**: `gitlab`
You can use the `test-repo` backend to try out Static 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 Static CMS [demo site](https://static-cms-demo.netlify.app/).
**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, set your backend name to `test-repo` in your Static CMS `config` file.
## Example
<CodeTabs>
```yaml
backend:
name: test-repo
```
```js
backend: {
name: 'test-repo',
},
```
</CodeTabs>