A minimalist utility gathering stats about editors who participated in a Mediawiki-powered discussion. It can help visualize the level of participation by communities.
- Yarn dependencies manager
- Wikimedia Tool account and access to database replicas. If you do not own a Wikimedia Tool account, please see here how you can get one.
# clone the repository
git clone https://github.com/samuelguebo/consultation-stats
# install dependencies
yarn install
# build and render frontend js
yarn build
Database configuration such as server port or user credentials should be set in app/setting.js
In order to do so, copy app/settings-sample.js
into a new file app/settings.js
and make sure that it is not tracked but git, as it contains server information.
While doing development on your computer (localhost), you will need to adjust the database settings and open a set up a distant connection to Wikimedia replicas. Please check here for detailed steps about connecting to the database replicas from your own computer.
# in development environment
yarn start
# in production
webservice start
Feel free to flag bugs or submit pull requests!