This repository was archived by the owner on Nov 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Quick Start
Kaitlyn Pickard edited this page Aug 30, 2019
·
4 revisions
- SSH key set up for Github
- Docker https://docs.docker.com/install/
- Docker-compose https://docs.docker.com/compose/install/
- Fork this repository to your own github user.
- Run
git clone git@github.com:<your username>/ui-components.git
in a terminal to clone to a local folder (e.g.~/Workspace
) - Navigate to the ui-components folder created for this clone.
- Create a
.npmrc
file in the root directory with the following contents:@fortawesome:registry=https://npm.fontawesome.com/ //npm.fontawesome.com/:_authToken=<AUTH TOKEN HERE>
- Replace
<AUTH TOKEN HERE>
with the Font Awesome 5 Pro auth token which can be found on 1Password. This npm configutation file will allow us to retrieve thefontawesome-pro
package from a private registry.
- Replace
- Install
npm
- On linux
sudo apt-get npm
- On macOS
brew install npm
- On linux
- Run
yarn
to install npm JS packages into your working folder. - Run
docker-compose build
to build your docker container. - Run
docker-compose up local
to start the ui-components build and the service. - You should now be able to connect to the application in your browser using the network address output in the console