mirrors everything
# windows
ELECTRON_BUILDER_BINARIES_MIRROR=https://npm.taobao.org/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --win
# linux
ELECTRON_BUILDER_BINARIES_MIRROR=https://npm.taobao.org/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=http://npm.taobao.org/mirrors/electron/ electron-builder build --linux
# macOS
ELECTRON_BUILDER_BINARIES_MIRROR=https://npm.taobao.org/mirrors/electron-builder-binaries/ \
ELECTRON_MIRROR=http://npm.taobao.org/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
MIT