Skip to content
Snippets Groups Projects

NanoPatch

Run deployment bash script (if dist folder is not present)
./deploy.sh

Install required packages
pip install -r requirements.txt

Run NanoPatch UI Locally
flask run

Top make Flask server visible to network
flask run --host=0.0.0.0

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build