- Make sure that you have installed yarn and Node.js PPA. Default Node.js does not work as its version is too low for yarn install to work properly.
- Make a mapbox account and create a private access token. The name does not matter. You will need this in order to see the map.
- Clone the repo, install, configure, and run.
# Clone the repo if you have not already.
git clone https://github.com/chronoscio/frontend
# Use yarn to install dependencies, AFTER being sure you have Node.js PPA.
yarn install
# Add secrets
cp packages/app/now-secrets.example.json packages/app/now-secrets.json
# Edit now-secrets.json to add the access token you got earlier, as a string.
# Run the ftont end.
yarn start # The app will live-reload on save
The app will spawn on localhost:3000
. It should have a descriptive sidebar on the left and a login on the right.
Please refer to the developer guide to learn how we structure the app.