The environment builds for vertical writing
- Node.js (^7.6.x)
- MongoDB
Key | Description | shortcut only |
---|---|---|
command+enter |
Break out with new block (when editor have focus) | * |
command+enter |
Focus article editor (when editor blur) | * |
command+s |
Save | * |
command+/ |
Toggle block comment | * |
alt+right |
Turn to next page | |
alt+left |
Turn to previous page | |
alt+n |
Insert new page | |
alt+shift+n |
Insert new page before | |
alt+a |
Switch article text-align mode (Right / Center) | |
alt+d |
Toggle article detail bar |
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run production server
# (should run build at first time)
npm start
# build .app, .exe, etc. for OS desktop
# (in ./release-builds folder)
npm run package-mac
npm run package-win
npm run package-linux
# run api tests
npm run api_test
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test