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 --macmake test- Add your code and test code. Run test again. You can refer to
test/sync/nw.test.jsfor syncer test
For more information about how to run the project, see Makefile.
make init-databasenode dispatch.js- You can alternatively choose which one you wanna sync in
config.categoriesinconfig/index.js - If you wanna visit 7001 port, change
bindingHostto0.0.0.0inconfig/index.js
MIT