Skip to content

Commit 0c89fa7

Browse files
Create postBuild
1 parent a7670e5 commit 0c89fa7

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

binder/postBuild

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
echo "🚀 Setting up KHA-256 Jupyter Book environment..."
4+
5+
# Install KHA-256
6+
pip install -e .
7+
8+
# Build Jupyter Book
9+
cd content
10+
jupyter-book build .
11+
12+
# Create symlink for easy access
13+
ln -s _build/html index.html
14+
15+
# Download sample data
16+
mkdir -p data
17+
curl -o data/test_vectors.json \
18+
https://raw.githubusercontent.com/WhiteSymmetry/kha256/main/data/test_vectors.json
19+
20+
echo "✅ Setup complete!"
21+
echo "📚 Jupyter Book available at: _build/html/index.html"

0 commit comments

Comments
 (0)