Skip to content
Alex Simoes edited this page Jan 23, 2019 · 3 revisions

Welcome to the datawheel-canon wiki!

Getting Started

From a clean directory, create a package.json file with:

`npm init`

Next, install the canon core lib:

npm i @datawheel/canon-core

Once install, run the setup command to create the necessary file structure:

npx canon-setup

DONE!

Deployment

The following is assuming Ubuntu 16.04 or similar OS

  1. Install necessary software: nginx, supervisor
  2. Clone repo in directory of choosing
  3. Build app in cloned dir: npm run build
  4. Create new nginx site (see instructions here). Dont forget to set your custom domain AND port.
  5. Setup supervisor (see instructions here)
  6. Restart nginx
Clone this wiki locally