Frontend one-time setup
Requirements
- NodeJS v15 or greater
- rustc nightly after edition 2021 was stabilized
- Install
- Update if necessary:
rustup default nightly && rustup update
- cargo-make
cargo install cargo-make
- cargo-watch
cargo install cargo-watch
Setup
- Setup your Git credentials (probably easiest via Github Desktop)
- Fork the repo
- Clone it into your local folder (using Github Desktop or manually)
- Install frontend dependencies
storybook
andelements
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
- 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)