I created a report updater job that creates this file: https://analytics.wikimedia.org/datasets/periodic/reports/metrics/published_cx2_translations/ . It appears to work correctly, but it also needs to show the data as a chart (see T196435).
I created configuration in a wiki page at https://meta.wikimedia.org/wiki/Config:Dashiki:CX2Translations and I tried following the instructions at https://wikitech.wikimedia.org/wiki/Analytics/Systems/Dashiki#Test_your_dashboard_config_locally , but I had many issues with installing Dashiki, gulp, bower, etc. The README and the wiki page appear to be out of date. @Nuria said on IRC: "i think our setup of dashiki needs an update to work well, do send us a ticket about your dashboard and we will get to it."
I try to do the following:
- Clone Dashiki from Gerrit.
- npm install
- sudo npm install -g gulp
- cd semantic && gulp build
The "gulp build" step fails with:
macdavid:dashiki aaharoni$ cd semantic && gulp build [08:23:28] Working directory changed to ~/dev/dashiki [08:23:29] [ERROR] you need --layout and --config parameters to build /Users/aaharoni/dev/dashiki/gulpfile.js:137 throw msg; ^ [ERROR] you need --layout and --config parameters to build
The documentation at the wikitech wiki also says:
Note: In addition to install gulp, you also need to install bower globally, then install bower locally in your directory. Clone dashiki depot: git clone ssh://<user>@gerrit.wikimedia.org:29418/analytics/dashiki Install bower locally or globally: Install bower globally, npm install -g bower To install bower locally, cd to your directory, and: bower install
The bower install step fails, too:
macdavid:dashiki aaharoni$ bower install bower ENOENT No bower.json present