wip experimental tree-like jupyter frontend built with rust and svelte
must build server after frontend because static files are embedded into the emitted binary
cd notedag-frontend
npm run build
cd ..
cd notedag-server
cargo build --release
cd ..
ROOT=./tests/ ./notedag-server/target/release/notedag-server
to build the binary statically
PKG_CONFIG_ALLOW_CROSS=1 cargo build --release --target x86_64-unknown-linux-musl
note that you will need to install zeromq
use default API host (http://127.0.0.1:8080
)
npm run dev -- --open
env vars:
PUBLIC_API_URL
:
custom example:
PUBLIC_API_URL=http://127.0.0.1:1337 npm run dev -- --open
quickstart:
ROOT=../tests/ RUST_LOG=info cargo run
env vars:
PORT
(default8080
): port for api serverROOT
(default
example:
PORT=1337 ROOT=../tests/ RUST_LOG=info cargo run