mirror of
https://github.com/koush/scrypted.git
synced 2026-04-20 15:10:25 +01:00
19 lines
628 B
Markdown
19 lines
628 B
Markdown
# Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.
|
|
|
|
## npm commands
|
|
* npm run scrypted-webpack
|
|
* npm run scrypted-deploy <ipaddress>
|
|
* npm run scrypted-debug <ipaddress>
|
|
|
|
## scrypted distribution via npm
|
|
1. Ensure package.json is set up properly for publishing on npm.
|
|
2. NODE_ENV=production npm run scrypted-webpack
|
|
3. git add dist/main.js
|
|
4. git commit
|
|
5. npm publish
|
|
|
|
## Visual Studio Code configuration
|
|
|
|
* If using a remote server, edit [.vscode/settings.json](blob/master/.vscode/settings.json) to specify the IP Address of the Scrypted server.
|
|
* Launch Scrypted Debugger from the launch menu.
|