docs: update devops steps (#39342)
This commit is contained in:
committed by
GitHub
parent
20d397f719
commit
df8bbdb2c8
@ -297,23 +297,26 @@ Provisioning VMs with the Code
|
|||||||
```console
|
```console
|
||||||
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
|
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
|
||||||
cd freeCodeCamp
|
cd freeCodeCamp
|
||||||
|
git checkout production-current # or any other branch to be deployed
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Create the `.env` from the secure credentials storage.
|
4. Create the `.env` from the secure credentials storage.
|
||||||
|
|
||||||
5. Install dependencies
|
5. Create the `google-credentials.json` from the secure credentials storage.
|
||||||
|
|
||||||
|
6. Install dependencies
|
||||||
|
|
||||||
```console
|
```console
|
||||||
npm ci
|
npm ci
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Build the server
|
7. Build the server
|
||||||
|
|
||||||
```console
|
```console
|
||||||
npm run ensure-env && npm run build:server
|
npm run ensure-env && npm run build:server
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Start Instances
|
8. Start Instances
|
||||||
|
|
||||||
```console
|
```console
|
||||||
cd api-server
|
cd api-server
|
||||||
|
Reference in New Issue
Block a user