docs: update devops steps (#39342)

This commit is contained in:
Mrugesh Mohapatra
2020-07-31 13:30:26 +05:30
committed by GitHub
parent 20d397f719
commit df8bbdb2c8

View File

@ -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