Skip to content

Repository files navigation

Bus Sign

Prerequisites

  • devenv - provides Cargo, Deno, and other tooling via Nix
  • PRT API Key - Obtained from creating a TrueTime account here
  • OpenWeather API Key - Obtained from OpenWeatherMap (Current Weather + 5 Day / 3 Hour Forecast)

Setup

Setting up your environment variables

Secrets are managed with secretspec. Authenticate once per machine with:

nix run git+https://git.cmu.dev/ScottyLabs/kennel#login

For per-developer API keys, copy the example env file and fill in your keys:

cp .env.example .env

Allow devenv, or enter the shell if already allowed:

devenv allow
# or: devenv shell

Running the backend

# From the repo root, inside the devenv shell
cargo run -p backend

Running the frontend

cd frontend

# Install dependencies
deno install

# Start the frontend
deno task dev

About

READ-ONLY MIRROR

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages