add devcontainer

This commit is contained in:
saddfox
2024-11-09 11:44:58 +01:00
parent fa76233151
commit 165a385844
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
# Upgrade pip
python -m pip install --upgrade pip
# Install Python packages
pip install -U platformio css_html_js_minify
# Navigate to the Svelte app directory
cd lib/SvelteUi/app
# Install npm dependencies and build the app
npm ci
npm run build
# Return to the previous directory
cd -