Commit ac107845 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

setting to add a remote doctype org.ecolyo.usage

parent 5a80070b
cozy-doctypes @ 634b1235
Subproject commit 634b1235c555f6ee3388315bd788b8f8b0c016ac
......@@ -110,6 +110,8 @@ do_start() {
--couchdb-url "${COUCHDB_URL}" \
--mail-port 1025 \
--mail-disable-tls \
--remote-allow-custom-port \
--log-level "debug" \
--fs-url "file://localhost${vfsdir}" &
wait_for "${COZY_STACK_HOST}:${COZY_STACK_PORT}/version/" "cozy-stack"
......
......@@ -7,3 +7,5 @@ disable_csp: true
# You can find a complete example of the cozy-stack config file here:
# https://github.com/cozy/cozy-stack/blob/master/cozy.example.yaml
remote_assets:
ecolyo-usage: http://cozy.tools:8080/remote/org.ecolyo.usage/
\ No newline at end of file
......@@ -41,6 +41,9 @@
},
"settings": {
"description": "Requis pour afficher les paramètres Cozy dans la barre Cozy."
},
"ecolyo-usage": {
"description": "Requis pour partager les données d'usage anonimisées d'Ecolyo."
}
}
},
......@@ -77,6 +80,9 @@
},
"settings": {
"description": "Required to display Cozy settings in the Cozy bar."
},
"ecolyo-usage": {
"description": "Required to share anomized usage data of Ecolyo."
}
}
}
......@@ -136,6 +142,10 @@
"settings": {
"type": "io.cozy.settings",
"verbs": ["GET"]
},
"ecolyo-usage": {
"type": "org.ecolyo.usage",
"verbs": ["ALL"]
}
}
}
......@@ -24,7 +24,7 @@
"start": "npm-run-all -p start:cs",
"build": "yarn run build:css && yarn run build:browser",
"release": "standard-version --no-verify",
"winstack": "start powershell -command docker run --rm -it -p 8080:8080 -p 5984:5984 -p 8025:8025 -v $PWD/build:/data/cozy-app/ecolyo -v $PWD/data:/usr/local/couchdb/data -v $PWD/docker/disableCSP.yaml:/etc/cozy/cozy.yaml registry.forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/cozy-env",
"winstack": "start powershell -command docker run --rm -it -p 8080:8080 -p 5984:5984 -p 8025:8025 -v $PWD/build:/data/cozy-app/ecolyo -v $PWD/data:/usr/local/couchdb/data -v $PWD/docker/disableCSP.yaml:/etc/cozy/cozy.yaml -v $PWD/cozy-doctypes:/data/cozy-doctypes registry.forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/cozy-env",
"linuxstack": "docker run --rm -it -p 8080:8080 -p 5984:5984 -p 8025:8025 -v $(pwd)/build:/data/cozy-app/ecolyo -v ~/cozy/data/db:/usr/local/couchdb/data -v ~/cozy/data/storage:/data/cozy-storage -v $(pwd)/docker/disableCSP.yaml:/etc/cozy/cozy.yaml registry.forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/cozy-env",
"load-data": "cd test && importData.bat",
"start-stack": "cs start --hot --browser --stack",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment