percival

(β˜… 637)

πŸ“ Web-based, reactive Datalog notebooks for data analysis and visualization

  • .editorconfig
  • .gitignore
  • .prettierignore
  • .prettierrc
  • Cargo.lock
  • Cargo.toml
  • go.mod
  • go.sum
  • index.html
  • LICENSE
  • main.go
  • package-lock.json
  • package.json
  • postcss.config.cjs
  • README.md
  • svelte.config.js
  • tailwind.config.cjs
  • tsconfig.json
  • vercel.json
  • vite.config.js

# Installation Guide

1. Get the code
git clone https://github.com/ekzhang/percival

Downloads the entire project code from GitHub to your computer.

cd percival

Moves into the project folder you just downloaded.

2. Node.js

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
npm run dev

Starts the development/run server.

npm run build

Builds optimized production files.

npm run check

Type this command into your terminal and run it.

npm run format

Type this command into your terminal and run it.

npm test

Type this command into your terminal and run it.

βœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

3. Go

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
go build ./...

Compiles the Go program into an executable.

go run .

Runs the Go program directly without a separate build step.

βœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.

4. Rust

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
cargo test

Type this command into your terminal and run it.

βœ… If cargo build finishes without errors, it worked. The executable is created under target/.

Pulled directly from this repo's README.

// repository documentation