Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.45 KB

SETUP.md

File metadata and controls

54 lines (33 loc) · 1.45 KB

Installation and Usage

The steps below will walk you through setting up your own instance of the project.

Install Project Dependencies

To set up the development environment for this website, you'll need to install the following on your system:

  • Node v20 (To manage multiple node versions we recommend nvm)
  • Yarn Package manager

Install Application Dependencies

If you use nvm, activate the desired Node version:

nvm install

Install Node modules:

yarn install

This command will install all the dependencies and devtools needed for local development.

Usage

Config files

Configuration is done using dot.env files.

These files are used to simplify the configuration of the app and should not contain sensitive information.

Copy the .env.local-sample to .env.local to add your configuration variables.

cp .env.local-sample .env.local

Mapbox Token

Get your Mapbox access token from Mapbox Dashboard. Put the key in .env.local file.

Starting the app

yarn serve

Compiles the sass files, javascript, and launches the server making the site available at http://localhost:9000/ The system will watch files and execute tasks whenever one of them changes. The site will automatically refresh since it is bundled with livereload.