To deploy a Domain Watchdog instance, please refer to the Symfony documentation on How to deploy a Symfony application.
- PHP 8.2 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.git
- Install dependencies:
composer install
- Set up your environment variables:
cp .env .env.local
- Generate the cryptographic key pair for the JWT signature
php bin/console lexik:jwt:generate-keypair
- Run database migrations:
php bin/console doctrine:migrations:migrate
- Start the Symfony server:
symfony server:start
- Build assets:
php bin/console assets:install
- Don't forget to set up workers to process the message queue
- Install dependencies:
yarn install
- Generate language files:
yarn run ttag:po2json
- Make the final build:
yarn build
- Add and modify the following files as you wish:
public/content/home.md public/content/privacy.md public/content/tos.md public/content/faq.md public/images/icons-512.png public/images/banner.png public/favicon.ico
Any updates are your responsibility. Make a backup of the data if necessary.
Fetch updates from the remote repository:
git pull origin master
- Install dependencies:
composer install
- Run database migrations:
php bin/console doctrine:migrations:migrate
- Clearing the Symfony cache:
php bin/console cache:clear
- Build assets:
php bin/console assets:install
- Install dependencies:
yarn install
- Generate language files:
yarn run ttag:po2json
- Make the final build:
yarn build