Install node
and yarn
# macOS
brew install node yarn
# *nix
apt-get install node yarn
Calling the Zeit ONLINE Content-API
- Obtain an API-Key from http://developer.zeit.de/quickstart/
- Provide your API-Secret as an environment-variable in the .env file in the project root directory:
ZON_API_KEY=[Your secret goes here]
yarn install
installs all dependencies. Run after cloning the repo.
yarn start
to start the local development server on port 9000.
yarn build
generates a production-ready build to thepublic
folder inside the root directory.yarn deploy:gh-pages
deploys the contents of thepublic
folder to gh-pages. Make sure to have a clean git state and all changes are committed or stashed.
- Make sure Text-to-Speech Voices are installed on the OS.
- The word highlighting breaks sometimes. Related bugs: