feat: config.toml -> sample.config.toml and update documentation (#111)

This commit is contained in:
heafalan
2019-06-26 14:52:34 +02:00
committed by badrAZ
parent 003eadc8fd
commit dfe5f412eb
3 changed files with 22 additions and 16 deletions

View File

@@ -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

View File

@@ -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
View File

@@ -0,0 +1,16 @@
[xoConnection]
url = ''
email = ''
password = ''
[vms]
default = ''
[templates]
default = ''
[remotes]
default = ''
[srs]
default = ''