This repository consists of rust-at-night
website frontend and backend crates.
To be written..
This is a rust code base, it is assumed that you have rust
and cargo
installed on your system. If not, please follow the instructions here.
cargo install --locked wasm-bindgen-cli trunk just
In the website-backend
root directory, run the following command:
just run_dev
If you'd like to use the local tracing collector, run the following command:
just run_with_tracing
for the local tracing collector to work, you need to have jaeger
server running.
just run_tracing_server
this sets up a container running jaeger
server.
You may check website-backend/src/options.rs
for environment variables that can be used to configure the backend.
Currently the frontend depends on the backend to work. In later PRs a better dev setup will be provided.
In the website-frontend
root directory, run the following command:
just watch
this populates the dist
directory with the compiled frontend code.
The running backend can serve this code.