Skip to content

Commit 8718ee6

Browse files
committed
feat: Client-side deployment, two-output graph, csv-validation
* Static client-side WASM-deployment (Closes #53) - Replaced Python/Jinja backend templates with fully static HTML. - Included light/dark theme toggle. - Added netlify.toml for Netlify build. - Added package.json for Netlify build triggers. - Added scripts/build_wasm.sh for installing dependencies, building SimDec wheel, converting Panel to Pyodide, and copying necessary files. - Needed to add data/stress.csv to panel/ for conversion to WASM. * Fixed error handling with faulty CSV files (Closes #50) - Faulty files display error message - Faulty files keep buffering icon in UI * Two-output graph (Closes #45) - Two-output graph is in a new function as in previous PR.
1 parent a9af109 commit 8718ee6

File tree

7 files changed

+10190
-164
lines changed

7 files changed

+10190
-164
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,5 @@ app.html
3838

3939
# Virtual environment
4040
venv/
41+
.venv/
42+
.wasm-build-venv/

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
command = "npm run build"
3+
publish = "dist/pyodide"
4+
5+
[build.environment]
6+
PYTHON_VERSION = "3.11"

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "simdec-wasm-site",
3+
"private": true,
4+
"version": "1.0.0",
5+
"description": "Static Panel WASM build wrapper",
6+
"scripts": {
7+
"build": "./scripts/build_wasm.sh",
8+
"serve": "python -m http.server 8000 --directory dist/pyodide"
9+
}
10+
}

panel/data/stress.csv

Lines changed: 10001 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)