react-maps
A React map component library for ATOM and Locus. More info soon.
Setup
-
yarn
- (Recommended Version: 1.22) for dependency management- Install yarn (mac):
- Open Command Line
- Via
Homebrew
:brew install yarn
- Via
MacPorts
:sudo port install yarn
- Via
Installation Script
(zsh):curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version [version]curl -o- -L https://yarnpkg.com/install.sh | bash ```git
- Install yarn (Windows):
- Via
Chocolatey
:choco install yarn
- Via
Scoop
:scoop install yarn
- Via
- To Install yarn on other Operating Systems or different options, please navigate
here
- Install yarn (mac):
-
Environment variables:
Here is the sample of
.env
MAPBOX_ACCESS_TOKEN= API_HOST= API_STAGE= KEY_WARDEN_HOST=<keywarden api> KEY_WARDEN_STAGE= JWT=
-
Storybook:
Use
yarn && yarn storybook
to run react-map component on storybook.