Switch from yaml to toml for config file (#42)

* Switch from yaml to toml
* Fix : vs =
This commit is contained in:
Danp2 2019-01-17 13:26:27 -06:00 committed by GitHub
parent dd046b485b
commit 8819e2e278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ cd $xo_server_dir
/usr/bin/yarn build /usr/bin/yarn build
cd packages/xo-server cd packages/xo-server
cp sample.config.yaml .xo-server.yaml cp sample.config.toml .xo-server.toml
sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xen-orchestra/packages/xo-web/dist'|" .xo-server.yaml sed -i "s|#'/' = '/path/to/xo-web/dist/'|'/' = '/opt/xen-orchestra/packages/xo-web/dist'|" .xo-server.toml
#Create node_modules directory if doesn't exist #Create node_modules directory if doesn't exist
mkdir -p /usr/local/lib/node_modules/ mkdir -p /usr/local/lib/node_modules/