chore(i18n,docs): processed translations (#51003)

This commit is contained in:
camperbot
2023-07-19 21:16:24 +05:30
committed by GitHub
parent 260d64a0ed
commit a6e1af7b97
16 changed files with 172 additions and 116 deletions

View File

@@ -435,7 +435,13 @@ Provisioning VMs with the Code
npm install -g pnpm
```
3. Clone freeCodeCamp, set up env, and keys.
3. Install pm2 globally.
```console
npm install -g pm2
```
4. Clone freeCodeCamp, set up env, and keys.
```console
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
@@ -443,28 +449,28 @@ cd freeCodeCamp
git checkout prod-current # or any other branch to be deployed
```
4. Create the `.env` from the secure credentials storage.
5. Create the `.env` from the secure credentials storage.
5. Install dependencies
6. Install dependencies
```console
pnpm install
```
6. Setup pm2 `logrotate` and startup on boot
7. Setup pm2 `logrotate` and startup on boot
```console
pnpm pm2 install pm2-logrotate
pnpm pm2 startup
pm2 install pm2-logrotate
pm2 startup
```
7. Build the server
8. Build the server
```console
pnpm prebuild && pnpm build:curriculum && pnpm build:server
```
8. Start Instances
9. Start Instances
```console
pnpm start:server
@@ -473,11 +479,11 @@ pnpm start:server
### Logging and Monitoring
```console
pnpm pm2 logs
pm2 logs
```
```console
pnpm pm2 monit
pm2 monit
```
### Updating Instances (Maintenance)
@@ -491,7 +497,7 @@ Code changes need to be deployed to the API instances from time to time. It can
1. Stop all instances
```console
pnpm pm2 stop all
pm2 stop all
```
2. Install dependencies
@@ -509,13 +515,13 @@ pnpm prebuild && pnpm build:curriculum && pnpm build:server
4. Start Instances
```console
pnpm start:server && pnpm pm2 logs
pnpm start:server && pm2 logs
```
#### 2. Rolling updates - Used for logical changes to code.
```console
pnpm reload:server && pnpm pm2 logs
pnpm reload:server && pm2 logs
```
> [!NOTE] We are handling rolling updates to code and logic via pipelines. You should not need to run these commands. These are here for documentation.
@@ -527,7 +533,7 @@ pnpm reload:server && pnpm pm2 logs
2. Update pm2 to use the new version
```console
pnpm pm2 update
pm2 update
```
## Work on Client Instances

View File

@@ -7,5 +7,6 @@ While we do not offer any bounties or swags at the moment, we are grateful to th
- Mehul Mohan from [codedamn](https://codedamn.com) ([@mehulmpt](https://twitter.com/mehulmpt)) - [Vulnerability Fix](https://github.com/freeCodeCamp/freeCodeCamp/blob/bb5a9e815313f1f7c91338e171bfe5acb8f3e346/client/src/components/Flash/index.js)
- Peter Samir https://www.linkedin.com/in/peter-samir/
- Laurence Tennant ([@hyperreality](https://github.com/hyperreality)) working with IncludeSecurity.com - [GHSA-cc3r-grh4-27gj](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-cc3r-grh4-27gj)
- Michal Biesiada ([@mbiesiad](https://github.com/mbiesiad)) - [GHSA-6c37-r62q-7xf4](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-6c37-r62q-7xf4)
> **Thank you for your contributions :pray:**

View File

@@ -435,7 +435,13 @@ Provisioning VMs with the Code
npm install -g pnpm
```
3. Clone freeCodeCamp, set up env, and keys.
3. Install pm2 globally.
```console
npm install -g pm2
```
4. Clone freeCodeCamp, set up env, and keys.
```console
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
@@ -443,28 +449,28 @@ cd freeCodeCamp
git checkout prod-current # or any other branch to be deployed
```
4. Create the `.env` from the secure credentials storage.
5. Create the `.env` from the secure credentials storage.
5. Install dependencies
6. Install dependencies
```console
pnpm install
```
6. Setup pm2 `logrotate` and startup on boot
7. Setup pm2 `logrotate` and startup on boot
```console
pnpm pm2 install pm2-logrotate
pnpm pm2 startup
pm2 install pm2-logrotate
pm2 startup
```
7. Build the server
8. Build the server
```console
pnpm prebuild && pnpm build:curriculum && pnpm build:server
```
8. Start Instances
9. Start Instances
```console
pnpm start:server
@@ -473,11 +479,11 @@ pnpm start:server
### Logging and Monitoring
```console
pnpm pm2 logs
pm2 logs
```
```console
pnpm pm2 monit
pm2 monit
```
### Updating Instances (Maintenance)
@@ -491,7 +497,7 @@ Code changes need to be deployed to the API instances from time to time. It can
1. Stop all instances
```console
pnpm pm2 stop all
pm2 stop all
```
2. Install dependencies
@@ -509,13 +515,13 @@ pnpm prebuild && pnpm build:curriculum && pnpm build:server
4. Start Instances
```console
pnpm start:server && pnpm pm2 logs
pnpm start:server && pm2 logs
```
#### 2. Rolling updates - Used for logical changes to code.
```console
pnpm reload:server && pnpm pm2 logs
pnpm reload:server && pm2 logs
```
> [!NOTE] We are handling rolling updates to code and logic via pipelines. You should not need to run these commands. These are here for documentation.
@@ -527,7 +533,7 @@ pnpm reload:server && pnpm pm2 logs
2. Update pm2 to use the new version
```console
pnpm pm2 update
pm2 update
```
## Work on Client Instances

View File

@@ -7,5 +7,6 @@ While we do not offer any bounties or swags at the moment, we are grateful to th
- Mehul Mohan from [codedamn](https://codedamn.com) ([@mehulmpt](https://twitter.com/mehulmpt)) - [Vulnerability Fix](https://github.com/freeCodeCamp/freeCodeCamp/blob/bb5a9e815313f1f7c91338e171bfe5acb8f3e346/client/src/components/Flash/index.js)
- Peter Samir https://www.linkedin.com/in/peter-samir/
- Laurence Tennant ([@hyperreality](https://github.com/hyperreality)) working with IncludeSecurity.com - [GHSA-cc3r-grh4-27gj](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-cc3r-grh4-27gj)
- Michal Biesiada ([@mbiesiad](https://github.com/mbiesiad)) - [GHSA-6c37-r62q-7xf4](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-6c37-r62q-7xf4)
> **Thank you for your contributions :pray:**

View File

@@ -435,7 +435,13 @@ Aprovisionamiento de MVs con el código
npm install -g pnpm
```
3. Clone freeCodeCamp, set up env, and keys.
3. Install pm2 globally.
```console
npm install -g pm2
```
4. Clone freeCodeCamp, set up env, and keys.
```console
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
@@ -443,28 +449,28 @@ cd freeCodeCamp
git checkout prod-current # or any other branch to be deployed
```
4. Create the `.env` from the secure credentials storage.
5. Create the `.env` from the secure credentials storage.
5. Install dependencies
6. Install dependencies
```console
pnpm install
```
6. Setup pm2 `logrotate` and startup on boot
7. Setup pm2 `logrotate` and startup on boot
```console
pnpm pm2 install pm2-logrotate
pnpm pm2 startup
pm2 install pm2-logrotate
pm2 startup
```
7. Build the server
8. Build the server
```console
pnpm prebuild && pnpm build:curriculum && pnpm build:server
```
8. Start Instances
9. Start Instances
```console
pnpm start:server
@@ -473,11 +479,11 @@ pnpm start:server
### Registro de eventos y monitoreo
```console
pnpm pm2 logs
pm2 logs
```
```console
pnpm pm2 monit
pm2 monit
```
### Actualización de las instancias (mantenimiento)
@@ -491,7 +497,7 @@ Los cambios en el código deben desplegarse en las instancias de la API cada tan
1. Stop all instances
```console
pnpm pm2 stop all
pm2 stop all
```
2. Install dependencies
@@ -509,13 +515,13 @@ pnpm prebuild && pnpm build:curriculum && pnpm build:server
4. Start Instances
```console
pnpm start:server && pnpm pm2 logs
pnpm start:server && pm2 logs
```
#### 2. Rolling updates - Used for logical changes to code.
```console
pnpm reload:server && pnpm pm2 logs
pnpm reload:server && pm2 logs
```
> [!NOTE] We are handling rolling updates to code and logic via pipelines. No debes tener que ejecutar estos comandos. Estos están aquí para documentación.
@@ -527,7 +533,7 @@ pnpm reload:server && pnpm pm2 logs
2. Update pm2 to use the new version
```console
pnpm pm2 update
pm2 update
```
## Work on Client Instances

View File

@@ -7,5 +7,6 @@ Si bien no ofrecemos ninguna recompensa o botín en este momento, estamos agrade
- Mehul Mohan de [codedamn](https://codedamn.com) ([@mehulmpt](https://twitter.com/mehulmpt)) - [Vulnerability Fix](https://github.com/freeCodeCamp/freeCodeCamp/blob/bb5a9e815313f1f7c91338e171bfe5acb8f3e346/client/src/components/Flash/index.js)
- Peter Samir https://www.linkedin.com/in/peter-samir/
- Laurence Tennant ([@hyperreality](https://github.com/hyperreality)) trabajando con IncludeSecurity.com - [GHSA-cc3r-grh4-27gj](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-cc3r-grh4-27gj)
- Michal Biesiada ([@mbiesiad](https://github.com/mbiesiad)) - [GHSA-6c37-r62q-7xf4](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-6c37-r62q-7xf4)
> **Thank you for your contributions :pray:**

View File

@@ -435,7 +435,13 @@ Bereitstellung von VMs mit dem Code
npm install -g pnpm
```
3. Clone freeCodeCamp, set up env, and keys.
3. Install pm2 globally.
```console
npm install -g pm2
```
4. Clone freeCodeCamp, set up env, and keys.
```console
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
@@ -443,28 +449,28 @@ cd freeCodeCamp
git checkout prod-current # or any other branch to be deployed
```
4. Create the `.env` from the secure credentials storage.
5. Create the `.env` from the secure credentials storage.
5. Install dependencies
6. Install dependencies
```console
pnpm install
```
6. Setup pm2 `logrotate` and startup on boot
7. Setup pm2 `logrotate` and startup on boot
```console
pnpm pm2 install pm2-logrotate
pnpm pm2 startup
pm2 install pm2-logrotate
pm2 startup
```
7. Build the server
8. Build the server
```console
pnpm prebuild && pnpm build:curriculum && pnpm build:server
```
8. Start Instances
9. Start Instances
```console
pnpm start:server
@@ -473,11 +479,11 @@ pnpm start:server
### Logging und Monitoring
```console
pnpm pm2 logs
pm2 logs
```
```console
pnpm pm2 monit
pm2 monit
```
### Aktualisieren von Instanzen (Wartung)
@@ -491,7 +497,7 @@ Codeänderungen müssen von Zeit zu Zeit auf die API-Instanzen übertragen werde
1. Stop all instances
```console
pnpm pm2 stop all
pm2 stop all
```
2. Install dependencies
@@ -509,13 +515,13 @@ pnpm prebuild && pnpm build:curriculum && pnpm build:server
4. Start Instances
```console
pnpm start:server && pnpm pm2 logs
pnpm start:server && pm2 logs
```
#### 2. Rolling updates - Used for logical changes to code.
```console
pnpm reload:server && pnpm pm2 logs
pnpm reload:server && pm2 logs
```
> [!NOTE] We are handling rolling updates to code and logic via pipelines. Du solltest diese Befehle nicht ausführen müssen. Sie dienen nur der Dokumentation.
@@ -527,7 +533,7 @@ pnpm reload:server && pnpm pm2 logs
2. Update pm2 to use the new version
```console
pnpm pm2 update
pm2 update
```
## Work on Client Instances

View File

@@ -7,5 +7,6 @@ Auch wenn wir im Moment keine Belohnungen oder Swags anbieten, sind wir diesen g
- Mehul Mohan from [codedamn](https://codedamn.com) ([@mehulmpt](https://twitter.com/mehulmpt)) - [Behebung von Sicherheitslücken](https://github.com/freeCodeCamp/freeCodeCamp/blob/bb5a9e815313f1f7c91338e171bfe5acb8f3e346/client/src/components/Flash/index.js)
- Peter Samir https://www.linkedin.com/in/peter-samir/
- Laurence Tennant ([@hyperreality](https://github.com/hyperreality)) arbeitet mit IncludeSecurity.com - [GHSA-cc3r-grh4-27gj](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-cc3r-grh4-27gj)
- Michal Biesiada ([@mbiesiad](https://github.com/mbiesiad)) - [GHSA-6c37-r62q-7xf4](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-6c37-r62q-7xf4)
> **Thank you for your contributions :pray:**

View File

@@ -435,7 +435,13 @@ Fare il provisioning delle VM con il codice
npm install -g pnpm
```
3. Clone freeCodeCamp, set up env, and keys.
3. Install pm2 globally.
```console
npm install -g pm2
```
4. Clone freeCodeCamp, set up env, and keys.
```console
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
@@ -443,28 +449,28 @@ cd freeCodeCamp
git checkout prod-current # or any other branch to be deployed
```
4. Create the `.env` from the secure credentials storage.
5. Create the `.env` from the secure credentials storage.
5. Install dependencies
6. Install dependencies
```console
pnpm install
```
6. Setup pm2 `logrotate` and startup on boot
7. Setup pm2 `logrotate` and startup on boot
```console
pnpm pm2 install pm2-logrotate
pnpm pm2 startup
pm2 install pm2-logrotate
pm2 startup
```
7. Build the server
8. Build the server
```console
pnpm prebuild && pnpm build:curriculum && pnpm build:server
```
8. Start Instances
9. Start Instances
```console
pnpm start:server
@@ -473,11 +479,11 @@ pnpm start:server
### Aggiornamento Istanze (Manutenzione)
```console
pnpm pm2 logs
pm2 logs
```
```console
pnpm pm2 monit
pm2 monit
```
### Aggiornamento Istanze (Manutenzione)
@@ -491,7 +497,7 @@ Ogni tanto devono essere fatti dei deployment dei cambiamenti al codice alle ist
1. Stop all instances
```console
pnpm pm2 stop all
pm2 stop all
```
2. Install dependencies
@@ -509,13 +515,13 @@ pnpm prebuild && pnpm build:curriculum && pnpm build:server
4. Start Instances
```console
pnpm start:server && pnpm pm2 logs
pnpm start:server && pm2 logs
```
#### 2. Rolling updates - Used for logical changes to code.
```console
pnpm reload:server && pnpm pm2 logs
pnpm reload:server && pm2 logs
```
> [!NOTE] We are handling rolling updates to code and logic via pipelines. Non dovresti aver bisogno di eseguire questi comandi. Sono qui per documentazione.
@@ -527,7 +533,7 @@ pnpm reload:server && pnpm pm2 logs
2. Update pm2 to use the new version
```console
pnpm pm2 update
pm2 update
```
## Work on Client Instances

View File

@@ -7,5 +7,6 @@ Anche se al momento non offriamo ricomplete, siamo grati a queste fantastiche pe
- Mehul Mohan da [codedamn](https://codedamn.com) ([@mehulmpt](https://twitter.com/mehulmpt)) - [Vulnerability Fix](https://github.com/freeCodeCamp/freeCodeCamp/blob/bb5a9e815313f1f7c91338e171bfe5acb8f3e346/client/src/components/Flash/index.js)
- Peter Samir https://www.linkedin.com/in/peter-samir/
- Laurence Tennant ([@hyperreality](https://github.com/hyperreality)) lavorando con IncludeSecurity.com - [GHSA-cc3r-grh4-27gj](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-cc3r-grh4-27gj)
- Michal Biesiada ([@mbiesiad](https://github.com/mbiesiad)) - [GHSA-6c37-r62q-7xf4](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-6c37-r62q-7xf4)
> **Thank you for your contributions :pray:**

View File

@@ -435,7 +435,13 @@ sudo apt install build-essential
npm install -g pnpm
```
3. Clone freeCodeCamp, set up env, and keys.
3. Install pm2 globally.
```console
npm install -g pm2
```
4. Clone freeCodeCamp, set up env, and keys.
```console
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
@@ -443,28 +449,28 @@ cd freeCodeCamp
git checkout prod-current # or any other branch to be deployed
```
4. Create the `.env` from the secure credentials storage.
5. Create the `.env` from the secure credentials storage.
5. Install dependencies
6. Install dependencies
```console
pnpm install
```
6. Setup pm2 `logrotate` and startup on boot
7. Setup pm2 `logrotate` and startup on boot
```console
pnpm pm2 install pm2-logrotate
pnpm pm2 startup
pm2 install pm2-logrotate
pm2 startup
```
7. Build the server
8. Build the server
```console
pnpm prebuild && pnpm build:curriculum && pnpm build:server
```
8. Start Instances
9. Start Instances
```console
pnpm start:server
@@ -473,11 +479,11 @@ pnpm start:server
### ログとモニタリング
```console
pnpm pm2 logs
pm2 logs
```
```console
pnpm pm2 monit
pm2 monit
```
### インスタンスの更新 (メンテナンス)
@@ -491,7 +497,7 @@ pnpm pm2 monit
1. Stop all instances
```console
pnpm pm2 stop all
pm2 stop all
```
2. Install dependencies
@@ -509,13 +515,13 @@ pnpm prebuild && pnpm build:curriculum && pnpm build:server
4. Start Instances
```console
pnpm start:server && pnpm pm2 logs
pnpm start:server && pm2 logs
```
#### 2. Rolling updates - Used for logical changes to code.
```console
pnpm reload:server && pnpm pm2 logs
pnpm reload:server && pm2 logs
```
> [!NOTE] We are handling rolling updates to code and logic via pipelines. これらのコマンドを実行する必要はありません。 ドキュメント用として、ここに記載されているだけです。
@@ -527,7 +533,7 @@ pnpm reload:server && pnpm pm2 logs
2. Update pm2 to use the new version
```console
pnpm pm2 update
pm2 update
```
## Work on Client Instances

View File

@@ -7,5 +7,6 @@
- Mehul Mohan ([codedamn](https://codedamn.com) 所属) ([@mehulmpt](https://twitter.com/mehulmpt)) - [脆弱性修正](https://github.com/freeCodeCamp/freeCodeCamp/blob/bb5a9e815313f1f7c91338e171bfe5acb8f3e346/client/src/components/Flash/index.js)
- Peter Samir https://www.linkedin.com/in/peter-samir/
- Laurence Tennant ([@hyperreality](https://github.com/hyperreality)) working with IncludeSecurity.com - [GHSA-cc3r-grh4-27gj](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-cc3r-grh4-27gj)
- Michal Biesiada ([@mbiesiad](https://github.com/mbiesiad)) - [GHSA-6c37-r62q-7xf4](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-6c37-r62q-7xf4)
> **Thank you for your contributions :pray:**

View File

@@ -435,7 +435,13 @@ Provisionando MVs com o código
npm install -g pnpm
```
3. Faça a clonagem do freeCodeCamp, configure env e as chaves.
3. Instale o pm2 globalmente.
```console
npm install -g pm2
```
4. Faça a clonagem do freeCodeCamp, configure env e as chaves.
```console
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
@@ -443,41 +449,41 @@ cd freeCodeCamp
git checkout prod-current # ou qualquer outra branch a ser implementada
```
4. Crie o `.env` a partir do armazenamento seguro de credenciais.
5. Crie o `.env` a partir do armazenamento seguro de credenciais.
5. Instale as dependências
6. Instale as dependências
```console
pnpm install
```
6. Configure o pm2 `logrotate` e inicialize no boot
7. Configure o pm2 `logrotate` e inicialize no boot
```console
pnpm pm2 install pm2-logrotate
pnpm pm2 startup
pm2 install pm2-logrotate
pm2 startup
```
7. Compile o servidor
8. Compile o servidor
```console
pnpm prebuild && pnpm build:curriculum && pnpm build:server
```
8. Inicie as instâncias
9. Inicie as instâncias
```console
pnpm start:server
```
### Registro e Monitoramento
### Registro e monitoramento
```console
pnpm pm2 logs
pm2 logs
```
```console
pnpm pm2 monit
pm2 monit
```
### Atualizando instâncias (Manutenção)
@@ -491,7 +497,7 @@ Mudanças no código devem ser implementadas na instância da API de tempos em t
1. Pare todas as instâncias
```console
pnpm pm2 stop all
pm2 stop all
```
2. Instale as dependências
@@ -509,13 +515,13 @@ pnpm prebuild && pnpm build:curriculum && pnpm build:server
4. Inicie as instâncias
```console
pnpm start:server && pnpm pm2 logs
pnpm start:server && pm2 logs
```
#### 2. Atualizações contínuas - Usadas para mudanças lógicas no código.
```console
pnpm reload:server && pnpm pm2 logs
pnpm reload:server && pm2 logs
```
> [!NOTE] Estamos lidando com atualizações contínuas no código e com a lógica por meio de pipelines. Você não deve executar estes comandos. Eles estão aqui para a documentação.
@@ -527,7 +533,7 @@ pnpm reload:server && pnpm pm2 logs
2. Atualize o pm2 para que ele use a nova versão
```console
pnpm pm2 update
pm2 update
```
## Trabalhe em instâncias de client
@@ -656,7 +662,7 @@ Provisionando MVs com código
scp -r username@source-server-public-ip:/etc/nginx/ssl ./
scp -pr ./ssl username@target-server-public-ip:/tmp/
# Remote
# Remoto
rm -rf ./ssl
mv /tmp/ssl ./
```

View File

@@ -7,5 +7,6 @@ Embora não possamos oferecer nenhuma recompensa ou troca no momento, agradecemo
- Mehul Mohan, da [codedamn](https://codedamn.com) ([@mehulmpt](https://twitter.com/mehulmpt)) - [Fix de vulnerabilidade](https://github.com/freeCodeCamp/freeCodeCamp/blob/bb5a9e815313f1f7c91338e171bfe5acb8f3e346/client/src/components/Flash/index.js)
- Peter Samir https://www.linkedin.com/in/peter-samir/
- Laurence Tennant ([@hyperreality](https://github.com/hyperreality)) trabalhando com IncludeSecurity.com - [GHSA-cc3r-grh4-27gj](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-cc3r-grh4-27gj)
- Michal Biesiada ([@mbiesiad](https://github.com/mbiesiad)) - [GHSA-6c37-r62q-7xf4](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-6c37-r62q-7xf4)
> **Agradecemos por suas contribuições :pray:**

View File

@@ -435,7 +435,13 @@ sudo apt install build-essential
npm install -g pnpm
```
3. Клонуйте freeCodeCamp, налаштуйте середовище та ключі.
3. Встановіть pm2 глобально.
```console
npm install -g pm2
```
4. Клонуйте freeCodeCamp, налаштуйте середовище та ключі.
```console
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
@@ -443,28 +449,28 @@ cd freeCodeCamp
git checkout prod-current # or any other branch to be deployed
```
4. Створіть `.env` із безпечного сховища облікових даних.
5. Створіть `.env` із безпечного сховища облікових даних.
5. Встановіть залежності
6. Встановіть залежності
```console
pnpm install
```
6. Налаштуйте pm2 `logrotate` та запустіть під час завантаження
7. Налаштуйте pm2 `logrotate` та запустіть під час завантаження
```console
pnpm pm2 install pm2-logrotate
pnpm pm2 startup
pm2 install pm2-logrotate
pm2 startup
```
7. Побудуйте сервер
8. Побудуйте сервер
```console
pnpm prebuild && pnpm build:curriculum && pnpm build:server
```
8. Запустіть екземпляри
9. Запустіть екземпляри
```console
pnpm start:server
@@ -473,11 +479,11 @@ pnpm start:server
### Журналювання та моніторинг
```console
pnpm pm2 logs
pm2 logs
```
```console
pnpm pm2 monit
pm2 monit
```
### Оновлення екземплярів (обслуговування)
@@ -491,7 +497,7 @@ pnpm pm2 monit
1. Зупиніть всі екземпляри
```console
pnpm pm2 stop all
pm2 stop all
```
2. Встановіть залежності
@@ -509,13 +515,13 @@ pnpm prebuild && pnpm build:curriculum && pnpm build:server
4. Запустіть екземпляри
```console
pnpm start:server && pnpm pm2 logs
pnpm start:server && pm2 logs
```
#### 2. Постійне оновлення: використовується для логічних змін коду.
```console
pnpm reload:server && pnpm pm2 logs
pnpm reload:server && pm2 logs
```
> [!NOTE] Ми обробляємо постійні оновлення коду та логіки через конвеєри. Вам не потрібно запускати ці команди. Вони тут для документації.
@@ -527,7 +533,7 @@ pnpm reload:server && pnpm pm2 logs
2. Оновіть pm2 для використання нової версії
```console
pnpm pm2 update
pm2 update
```
## Робота над екземплярами клієнта
@@ -652,11 +658,11 @@ pm2 reload all --update-env && pm2 logs
Перемістіть наявні сертифікати:
```console
# Local
# Локально
scp -r username@source-server-public-ip:/etc/nginx/ssl ./
scp -pr ./ssl username@target-server-public-ip:/tmp/
# Remote
# Віддалено
rm -rf ./ssl
mv /tmp/ssl ./
```

View File

@@ -7,5 +7,6 @@
- Мехул Мохан з [codedamn](https://codedamn.com) ([@mehulmpt](https://twitter.com/mehulmpt)) — [Виправлення вразливості](https://github.com/freeCodeCamp/freeCodeCamp/blob/bb5a9e815313f1f7c91338e171bfe5acb8f3e346/client/src/components/Flash/index.js)
- Пітер Самір https://www.linkedin.com/in/peter-samir/
- Лоуренс Теннант ([@hyperreality](https://github.com/hyperreality)) працює з IncludeSecurity.com — [GHSA-c3r-grh4-27gj](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-cc3r-grh4-27gj)
- Michal Biesiada ([@mbiesiad](https://github.com/mbiesiad)) - [GHSA-6c37-r62q-7xf4](https://github.com/freeCodeCamp/freeCodeCamp/security/advisories/GHSA-6c37-r62q-7xf4)
> **Дякуємо за ваш вклад :pray:**