- fork this repository,
- create a bucket in Firebase (it is free),
- insert your firebase bucket name in logger.js:
var settings = {
debug: true,
firebase: {
bucket: "YOUR_FIREBASE_BUCKET_NAME"
}
}
- create a job in CrowdFlower, upload your data. Make sure you have a column, which can be used as an identificator of a given data row (unit). If you collect tags for images, it can be image_url
- add the following in CML of your CrowdFlower job:
<script src="https://YOUR_GITHUB_USERNAME.github.io/worker-activity-logger/logger.js"></script>
<script>
EDA_LOGGER.init({
key_name:"KEY_COLUMN_NAME",
key_value:"{{KEY_COLUMN_NAME}}",
task_id: YOUR_CROWDFLOWER_JOB_ID
});
</script>
When you launch the job you should see logs appearing in your firebase bucket. If you do not - check all the steps carefully. If it still does not work, create an issue in this repository.
- run unit_references_maker.js (once)
- run queue_management.js (keep it running during execution)
- run ReLauncher server (npm start)
- launch the job
- start ReLauncher for this job