* revert: disable portuguese
First certification is not 100% yet. Shipped too soon. :(
* feat: enable portuguese curriculum
Curriculum can build in portuguese, leaving client disabled to
prevent language from appearing in nav bar.
* feat: move audited cert list
Moves the audited cert list to the config, instead of the utils.
* fix: navbar bug
Should resolve the current bug on staging with the nav bar.
* fix: update display names
Update the display names for the two Chinese options.
* fix(tools): remove extraneous test
Docs do not indicate that language code needs to be 2 characters.
* feat(docker): build and use client and api images
* feat: always use .env
dotenv fails without throwing if the .env file is missing and never
overwrites variables if they already exist. As such, we can use it in
build pipelines.
* fix: remove quotes from env vars
dotenv normalises quoted and unquoted strings (X=x, X='x' and
X="x") all become the same .env object {X: 'x'}. However, Docker's
env_file does not (the three cases are distinct). As a result, we
should use unquoted strings for consistency.
* fix: provide custom warning when .env is missing
* feat(docker): include client-config
* fix(docker): remove build packages from api image
* fix(docker): run script from correct dir
* fix(docker): correct permissions and dests
* fix(docker): consolidate run steps
This is standard practice, but did not have a noticable affect on the
image size
* fix(docker): clean the npm cache
Prior to this step the image was 1.11GB uncompressed and we got a modest
saving, 1.09GB after.
* refactor(docker): regexless COPY directives
* feat(docker): use alpine
This shrinks the image down to 259MB
* fix(docker): update build scripts
* fix: correct the server Dockerfile RUNs
* DEBUG: expose mysql port for seeding
* chore: update client Dockerfile's node versions
* fix: remove executable permissions from index.js
It's not a cli, so I don't think it needs to be executable.
* chore: update node and remove stale comments
* feat: use ENTRYPOINT + CMD to allow runtime config
* fix: add CURRICULUM_LOCALE arg
* feat: allow client port configuration
* feat: allow api port to be configured
* refactor: use unique variable names for ports
* fix: add default CLIENT_PORT
* refactor: clean up
* 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>
The existing terminology carries negative sentiment that can be
interpreted in a racial or sense. Updating the name to have no
potential for such a connection.
Co-authored-by: Justin Rogers <justrog@gmail.com>
* Fixed Redux dev tool plugin in production problem
* Update client/src/redux/createStore.js
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update client/src/redux/createStore.js
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update client/src/redux/createStore.js
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* Update client/src/redux/createStore.js
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Fixed ESLint error
* Second try to fix linting issue
* Third try to fix lint issues
* Update client/src/redux/createStore.js
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Update client/src/redux/createStore.js
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: use env.json for ENVIRONMENT
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>