# pji-desktop


node 21.6.2
# 程序启动方式
1. npm run dev:vue
2. npm run dev:electron

# windows 打包
- npm install electron-packager --save-dev
- npm run packager:windows

# 部署
## sudo 权限配置
- sudo visudo -f /etc/sudoers.d/username
  - username ALL=(ALL) NOPASSWD:ALL
## docker 开启http访问
> 测试：http://localhost:2375/version
- sudo vi /lib/systemd/system/docker.service
  -  ExecStart=/usr/bin/dockerd 后面添加 -H unix://var/run/docker.sock -H tcp://0.0.0.0:2375 --api-cors-header='*'
- sudo systemctl daemon-reload
- sudo service docker restart