docs: update README.md

This commit is contained in:
Maël Gangloff 2024-07-29 13:11:56 +02:00
parent 94fdb99d96
commit ffe063413f
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -36,35 +36,57 @@ on [How to deploy a Symfony application](https://symfony.com/doc/current/deploym
### Steps ### Steps
1. Clone the repository: Clone the repository:
```shell ```shell
git clone https://github.com/maelgangloff/domain-watchdog.git git clone https://github.com/maelgangloff/domain-watchdog.git
``` ```
2. Navigate to the project directory:
Navigate to the project directory:
```shell ```shell
cd domain-watchdog cd domain-watchdog
``` ```
3. Install dependencies:
#### Backend
1. Install dependencies:
```shell ```shell
composer install composer install
``` ```
4. Set up your environment variables: 2. Set up your environment variables:
```shell ```shell
cp .env .env.local cp .env .env.local
``` ```
5. Generate the cryptographic key pair for the JWT signature 3. Generate the cryptographic key pair for the JWT signature
```shell ```shell
php bin/console lexik:jwt:generate-keypair php bin/console lexik:jwt:generate-keypair
``` ```
6. Run database migrations: 4. Run database migrations:
```shell ```shell
php bin/console doctrine:migrations:migrate php bin/console doctrine:migrations:migrate
``` ```
7. Start the Symfony server: ```
5. Start the Symfony server:
```shell ```shell
symfony server:start symfony server:start
``` ```
#### Frontend
1. Install dependencies:
```shell
yarn install
```
2. Generate language files:
```shell
yarn run ttag:po2json
```
3. Make the final build:
```shell
yarn build
```
> [!NOTE] > [!NOTE]
> ## Useful documentation > ## Useful documentation
> - [RFC 7482 : Registration Data Access Protocol (RDAP) Query Format](https://datatracker.ietf.org/doc/html/rfc7482) > - [RFC 7482 : Registration Data Access Protocol (RDAP) Query Format](https://datatracker.ietf.org/doc/html/rfc7482)
@ -72,10 +94,10 @@ on [How to deploy a Symfony application](https://symfony.com/doc/current/deploym
> - [RFC 7484 : Finding the Authoritative Registration Data (RDAP) Service](https://datatracker.ietf.org/doc/html/rfc7484) > - [RFC 7484 : Finding the Authoritative Registration Data (RDAP) Service](https://datatracker.ietf.org/doc/html/rfc7484)
## Licensing ## Licensing
This entire project is licensed under *GNU Affero General Public License v3.0 or later*. This entire project is licensed under *GNU Affero General Public License v3.0 or later*.
Contributions are welcome as long as they do not contravene the Code of Conduct. Contributions are welcome as long as they do not contravene the Code of Conduct.
[^1]: RFC 3912 : WHOIS Protocol Specification. (2004). IETF Datatracker. https://datatracker.ietf.org/doc/html/rfc3912 [^1]: RFC 3912 : WHOIS Protocol Specification. (2004). IETF Datatracker. https://datatracker.ietf.org/doc/html/rfc3912
[^2]: 2023 Global Amendments to the Base gTLD Registry Agreement (RA), Specification 13, and 2013 Registrar [^2]: 2023 Global Amendments to the Base gTLD Registry Agreement (RA), Specification 13, and 2013 Registrar
Accreditation Agreement (RAA) - ICANN. (s. d.). https://www.icann.org/resources/pages/global-amendment-2023-en Accreditation Agreement (RAA) - ICANN. (s. d.). https://www.icann.org/resources/pages/global-amendment-2023-en