Skip to content

DannyGIS/new_map

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 fork & clone this 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 serve

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

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.2%
  • HTML 14.4%
  • CSS 12.4%