Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.83 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.83 KB

Stories Kingdom

The environment builds for vertical writing

Stories Kingdom ver.1 gif

Prerequisite Technologies

  • Node.js (^7.6.x)
  • MongoDB

Article Editing Shortcuts

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

Build Setup

# 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