- Clone this repo
- Clone also the
deepstream.io-client-specs
repository into the same parent directory (OPTIONAL)
To get this hierarchy:
.
├── ...
├── deepstream.io-client-specs
├── ...
├── deepstream.io-website
└── ...
npm install
npm run sync
If you want to use the watch script, you need to install fswatch
brew install fswatch
Runs the static site generator (metalsmith).
After generation the process will terminate.
Runs a webserver via browser-sync, which serves the data in dist
.
Afterwards open localhost:3000 in your browser.
You must run npm run serve
before and keep the process alive.
Whenever a file was changed and the regeneration is done your browser will
refresh the page automatically.
Export the BEEP
variable and you will be notified via a short sound effect that
the generation was finished.
export BEEP=1
If you want to keep documents in the ouput which are flagged as a draft.
KEEP_DRAFTS=1 npm start
Otherwise they will be deleted (not generated) in the dist directory.