Skip to content
This repository was archived by the owner on May 23, 2026. It is now read-only.

bcit-ltc/common

Repository files navigation

LTC Common Assets

Content delivery and proxy service for static assets and third-party API routing.

  • src/js/utils.js → Plausible Analytics that was renamed to avoid ad blockers.

Develop using Codespaces

  1. Open your branch in Codespaces.

  2. Open a terminal and run:

    direnv allow docker compose up

  3. Browse to http://localhost:8080 (for browser-based sessions: command palette: >open port in browser).

Develop using your own environment

For basic local development using docker compose:

  • install docker or orbstack
  • set APP_NAME environment variable: export APP_NAME=myAwesomeApp
  • run docker compose up and browse to http://localhost:8080

Testing Deployment

The easiest way to load a working environment is to install Nix, and then hook direnv into your shell. The Codespaces environment is ready to go; if you're using your own environment, here's one way to do it:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate
nix-shell -p direnv kubectl kubernetes-helm k3d skaffold

Run make cluster (and optionally, make dashboard for the Kubernetes-dashboard app), followed by skaffold dev.

make help shows other helpful commands for this environment.

Cleanup

To remove all cluster resources, run make delete.

License

This Source Code Form is subject to the terms of the Mozilla Public License, v2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

About

Developed in 🇨🇦 Canada by the Learning and Teaching Centre at BCIT.

About

Content delivery and proxy service for static assets and third-party API routing

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors