diff --git a/package.json b/package.json index a515b3a..e156a44 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "report": "NODE_ENV=production webpack --profile --json > stats.json; webpack-bundle-analyzer ./stats.json", "dev": "NODE_ENV=development webpack --watch", "build": "NODE_ENV=production webpack && mv skins/weewx-wdc/dist/service-worker.js skins/weewx-wdc/service-worker.js", - "deploy:local": "sudo rsync -vua ./skins/weewx-wdc/ /etc/weewx/skins/weewx-wdc/ && sudo cp -r ./bin/user/. /usr/share/weewx/user/ && sudo /usr/share/weewx/wee_reports", + "deploy:local": "sudo rsync -vua ./skins/weewx-wdc/ /etc/weewx/skins/weewx-wdc/ && sudo cp -r ./bin/user/. /etc/weewx/bin/user/ && sudo weectl report run", "serve:local": "docker run -it --rm -d -p 8080:80 --name web -v /var/www/html/weewx:/usr/share/nginx/html nginx", "deploy:pi": "yarn run build && sudo rsync -vua ./bin/ pi@weewx:/home/pi/bin && sudo rsync -vua --exclude 'weewx-wdc/dwd/*' --exclude 'weewx-wdc/skin.conf' ./skins/ pi@weewx:/home/pi/skins", "test:e2e": "yarn playwright test --config playwright.config.ts",