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
|
||||
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
|
||||
cd freeCodeCamp
|
||||
git checkout production-current # or any other branch to be deployed
|
||||
```
|
||||
|
||||
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
|
||||
npm ci
|
||||
```
|
||||
|
||||
6. Build the server
|
||||
7. Build the server
|
||||
|
||||
```console
|
||||
npm run ensure-env && npm run build:server
|
||||
```
|
||||
|
||||
7. Start Instances
|
||||
8. Start Instances
|
||||
|
||||
```console
|
||||
cd api-server
|
||||
|
Reference in New Issue
Block a user