Client Socket.IO for Dash
pip install dash_socketio
-
Create a new python environment:
python -m venv venv . venv/bin/activate
Note: venv\Scripts\activate for windows
-
Install python dependencies:
pip install -r requirements.txt
-
Install npm packages:
- Optional: use nvm to manage node version:
nvm install nvm use
- Install:
npm install
- Optional: use nvm to manage node version:
-
Build:
npm run build
If publish on npm:
npm build
npm publish
Alternatively, use the provided just commands:
- Create a Python environment from previous step 1 and install:
just install
- Build
just build
- Publish
just publish
- See all commands with
just -l