static-cms/packages/docs/content/docs/test-backend.mdx
2023-01-18 10:46:19 -05:00

30 lines
746 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://demo-staticcms.org/).
**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>