/zon-hackathon-2017

ZEIT ONLINE Frontend-Day / Hackathon 2017 Project

Primary LanguageJavaScript

ZEIT ONLINE Frontend-Day / Hackathon 2017

Prerequisites

Install node and yarn

# macOS
brew install node yarn

# *nix
apt-get install node yarn
  • 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]

Installation

  • yarn install installs all dependencies. Run after cloning the repo.

Development

  • yarn start to start the local development server on port 9000.

Build & Deploy

  • yarn build generates a production-ready build to the public folder inside the root directory.
  • yarn deploy:gh-pages deploys the contents of the public folder to gh-pages. Make sure to have a clean git state and all changes are committed or stashed.

Bugs & Gotchas