mirrors everything
# windows
ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=http://npmmirror.com/mirrors/electron/ electron-builder build --win
# linux
ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ electron-builder build --linux
# macOS
ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ electron-builder build --mac
make test
- Add your code and test code. Run test again. You can refer to
test/sync/nw.test.js
for syncer test
For more information about how to run the project, see Makefile.
make init-database
node dispatch.js
- You can alternatively choose which one you wanna sync in
config.categories
inconfig/index.js
- If you wanna visit 7001 port, change
bindingHost
to0.0.0.0
inconfig/index.js