docs: update README.md

This commit is contained in:
Maël Gangloff 2024-07-30 22:14:43 +02:00
parent ee2935eb43
commit 45cc66880d
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629

View File

@ -42,12 +42,6 @@ Clone the repository:
git clone https://github.com/maelgangloff/domain-watchdog.git
```
Navigate to the project directory:
```shell
cd domain-watchdog
```
#### Backend
1. Install dependencies:
@ -66,7 +60,6 @@ cd domain-watchdog
```shell
php bin/console doctrine:migrations:migrate
```
```
5. Start the Symfony server:
```shell
symfony server:start
@ -74,6 +67,46 @@ cd domain-watchdog
#### Frontend
1. Install dependencies:
```shell
yarn install
```
2. Generate language files:
```shell
yarn run ttag:po2json
```
3. Make the final build:
```shell
yarn build
```
## Update
**Any updates are your responsibility. Make a backup of the data if necessary.**
Fetch updates from the remote repository:
```shell
git pull origin master
```
### Backend
1. Install dependencies:
```shell
composer install
```
2. Run database migrations:
```shell
php bin/console doctrine:migrations:migrate
```
3. Clearing the Symfony cache:
```shell
php bin/console cache:clear
```
### Frontend
1. Install dependencies:
```shell
yarn install