npm install
npm run serve
npm run build
npm run lint
This project includes kubernetes manifests that allow it to be deployed to a kubernetes cluster.
To run this project in a local kind cluster:
Drop into the nix environment that contains all of the relevant tools.
nix develop --impure
Create a cluster and container registry.
ctlptl apply -f local-cluster.yaml -f local-registry.yaml
Make sure you update the skaffold.env.changeme and k8s/base/secrets.env.changeme to include the fontawesome package token
mv skaffold.env.changeme skaffold.env
mv k8s/base/secrets.env.changeme k8s/base/secrets.env
Then edit these and insert the token.
Finally, to build and deploy the service to the cluster we just created:
skaffold -m app dev --port-forward
This starts the skaffold dev loop, which will rebuild the Docker image on code change, and will re-deploy the artifacts automatically.
The service will be available at http://localhost:8080
LCO's education platform for students and teachers