feat: config.toml -> sample.config.toml and update documentation (#111)
This commit is contained in:
@@ -89,6 +89,12 @@ describe("user", () => {
|
||||
|
||||
## Usage
|
||||
|
||||
- Before running the tests, you have to create a config file for xo-server-test.
|
||||
```
|
||||
> cp sample.config.toml ~/.config/xo-server-test/config.toml
|
||||
```
|
||||
And complete it.
|
||||
|
||||
- To run the tests:
|
||||
```
|
||||
> npm ci
|
||||
|
||||
16
config.toml
16
config.toml
@@ -1,16 +0,0 @@
|
||||
[xoConnection]
|
||||
url = 'localhost:9000'
|
||||
email = 'admin@admin.net'
|
||||
password = 'admin'
|
||||
|
||||
[vms]
|
||||
default = '0342407f-9727-4f12-83c2-9d0c458916c2'
|
||||
|
||||
[templates]
|
||||
default = '1a33d04d-1a9c-e2af-ae42-010554eed513'
|
||||
|
||||
[remotes]
|
||||
default = '8565fc53-ea32-40ea-b380-dd1b8f3b5d44'
|
||||
|
||||
[srs]
|
||||
default = 'a5954951-3dfa-42b8-803f-4bc270b22a0b'
|
||||
16
sample.config.toml
Normal file
16
sample.config.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
[xoConnection]
|
||||
url = ''
|
||||
email = ''
|
||||
password = ''
|
||||
|
||||
[vms]
|
||||
default = ''
|
||||
|
||||
[templates]
|
||||
default = ''
|
||||
|
||||
[remotes]
|
||||
default = ''
|
||||
|
||||
[srs]
|
||||
default = ''
|
||||
Reference in New Issue
Block a user