Manual installation
To deploy a Domain Watchdog instance, please refer to the Symfony documentation on How to deploy a Symfony application.
Prerequisites
Section titled “Prerequisites”- PHP 8.4 or higher
- PostgreSQL 16 or higher
In order to retrieve information about domain names, Domain Watchdog will query the RDAP server responsible for the TLD. It is crucial that the Domain Watchdog instance is placed in a clean environment from which these servers can be queried. In particular, the DNS servers and root certificates of the system must be trusted.
Clone the repository:
git clone https://github.com/maelgangloff/domain-watchdog.gitBackend
Section titled “Backend”-
Install dependencies
Terminal window composer install -
Set up your environment variables
Terminal window cp .env .env.localConfiguration List of environment variables -
Generate the cryptographic key pair for the JWT signature
Terminal window php bin/console lexik:jwt:generate-keypair -
Run database migrations
Terminal window php bin/console doctrine:migrations:migrate -
Start the Symfony server
Terminal window symfony server:start -
Build assets
Terminal window php bin/console assets:install -
Don’t forget to set up workers to process the message queue
Frontend
Section titled “Frontend”- Install dependencies
Terminal window yarn install - Generate language files
Terminal window yarn run ttag:po2json - Make the final build
Terminal window yarn build - Add and modify the following files as you wish
Directorypublic
Directorycontent
- home.md
- privacy.md
- tos.md
- faq.md
- icons-512.png
- banner.png
- favicon.ico