fix: re-revert the API decoupling (#41263)

* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
Mrugesh Mohapatra
2021-02-26 01:32:35 +05:30
committed by GitHub
parent 31bdea63a2
commit b5f4754e2a
172 changed files with 381 additions and 349 deletions

View File

@ -581,14 +581,13 @@ Provisioning VMs with the Code
7. Build the server
```console
npm run ensure-env && npm run build:server
npm run ensure-env && npm run build:curriculum && npm run build:server
```
8. Start Instances
```console
cd api-server
pm2 start production-start.js -i max --max-memory-restart 600M --name org
pm2 start api-server/lib/production-start.js -i max --max-memory-restart 600M --name org
```
### Logging and Monitoring
@ -627,7 +626,7 @@ npm ci
3. Build the server
```console
npm run ensure-env && npm run build:server
npm run ensure-env && npm run build:curriculum && npm run build:server
```
4. Start Instances

View File

@ -21,7 +21,7 @@ The `meta-tags.json` file contains the information for our website's meta tag in
To add a new language, create a folder with the language name as the title next to the other languages and copy the JSON files from another language into your new folder.
In the `allLangs.js` file, add the language to the `client` array in the first variable. Then, follow the instructions in the comments to add the rest of the necessary variables.
In the `all-langs.js` file, add the language to the `client` array in the first variable. Then, follow the instructions in the comments to add the rest of the necessary variables.
## How to Translate
@ -34,7 +34,7 @@ Modifications to the `trending.json`, `meta-tags.json`, and `motivation.json` fi
Set the `CLIENT_LOCALE` variable in your `.env` file to the locale you want to build.
> [!NOTE]
> The value needs to be one of the client languages available in `client/i18n/allLangs.js`
> The value needs to be one of the client languages available in `config/i18n/all-langs.js`
## How to Structure Components