citp / news-disinformation-study

A research project on how web users consume, are exposed to, and share news online.
8 stars 2 forks source link

Use the Rally Study Template #76

Closed Dexterp37 closed 3 years ago

Dexterp37 commented 3 years ago

This PR imports the files from mozilla-rally/study-template@08f0bc8 needed for the study to work on the Rally platform. The Rally build system can now be used to build, package and test. The developer mode (npm run watch) can be used as well.

Building the add-on highlighted a few bugs in the WebScience code that prevent the study from running (when using this PR) or that can throw exceptions at runtime (and thus break at runtime) without this PR.

To show the issue, simply run npm run dev (or npm run build). Before running any NPM command make sure to run npm run ci from the root directory of the project.

It's also worth mentioning that npm run lint produces a substantial amount of issues that need addressing.

Dexterp37 commented 3 years ago

cc @knowtheory