Frontend one-time setup

Requirements

Setup

  1. Setup your Git credentials (probably easiest via Github Desktop)
  2. Fork the repo
  3. Clone it into your local folder (using Github Desktop or manually)
  4. Install frontend dependencies
    • storybook and elements projects require a Font Awesome auth token to install fonts:
      • export FONTAWESOME_NPM_AUTH_TOKEN=<REPLACE_ME>
    • npm install in the following folders:
      • frontend/storybook
      • frontend/elements
      • frontend/apps
      • frontend/build-utils
  5. Install Dropbox / accept the invitation to ji-cloud-media  (we might move that over to a separate repo at some point...)

After all this is setup, you should be able to npm start from frontend/storybook and see it working, just without the images.

(the rest of the setup is merely setting the .env values)