- In
chrome-extension/js/conf.example.js, set the constant API_URL to the URL of your own backend and rename the file toconf.js. - To install the extension, open Chrome and navigate to
chrome://extensions/. Switch on Developer mode in the upper right corner. Click on the button Load unpacked in the toolbar that appears, and point to thechrome-extensiondirectory.
- Set the correct environment variables in
backend/application/example.envand rename the file to.env. - Put the contents of the
public_htmldirectory in the public root of your host (this may be called public_html, www, or something similar). - Put the
applicationdirectory on the same level as thepublic_htmldirectory. - Make sure the full path of the
applicationdirectory is listed in PHP's include path. Usually this looks something like/home/username/domains/example.com/application. - Install the dependencies using Composer by running
composer update(using composer.json) orcomposer install(using composer.json locked to the versions in composer.lock).
See https://github.com/koenberkhout/dark-patterns-project/tree/main/domaintool.