robgaston / fall_2022

GISEC Fall 2022 JS class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Map

Getting Started

Install the following dependencies:

You'll also need a Git client & text editor; if you don't have those, then you should also install the following:

You'll also want to sign-up for Mapbox services here and, if you haven't already, create a GitHub account.

Now you can use this template repository to start building your own web map.

After cloning the repo, you'll need to insert your Mapbox public access token (which can be found here) into src/settings.json.

You'll also need to install your package dependencies locally by running the following from the root directory of your cloned repository:

yarn install

Development

To run the app locally, run the following from the root directory of your cloned repository:

yarn start

The application should now be running at http://localhost:1234/

Changes that you make to javascript and CSS files will be automatically refreshed!

Building

Before deploying, you must first build the website by running the following command from the root directory:

yarn build

Deployment

To deploy your latest code to the web, simply build (as per above) then commit and push your local changes to the master branch in Github.

About

GISEC Fall 2022 JS class


Languages

Language:JavaScript 65.3%Language:HTML 21.2%Language:CSS 13.5%