Electron + Django, package it to production
- Python 3.9.10
- Virtualenv 20.13.1
- Node js 14.18.3
npm install
cd python
virtualenv edtwExampleEnv
edtwExampleEnv\Scripts\activate
cd edtwExample
pip install -r requirements.txt
REM Back to python folder
cd ..
pyinstaller --name=edtwExample edtwExample\manage.py --noconfirm
REM Back to root folder
cd ..
npm run package
cd out\edtwexample-win32-x64
edtwexample.exe