Skip to content

robgaston/new_map

Repository files navigation

New Map Template

Getting Started

Use this template to create a your own repository.

If you haven't already, you'll need to create accounts for these services:

You will need to configure GitHub Pages to use 'GitHub Actions' as the source, and update the repository name in .github/workflows/deploy.yml (change "new_map" on line 19 to match your repository name).

The easiest way to start development is to create a GitHub Codespace using this repository.

Running locally

If you are not using Codespaces, to run locally you'll need to have the following dependencies installed:

After installing Git for the first time, you'll need to configure it by running the following from the VS Code integrated terminal (replace the quoted text with your name/email address):

git config --global user.name "<your name>"
git config --global user.email "<your email>"

Then setup VSCode to start working:

npm install

Mapbox API Key

In order to use Mapbox services, you'll need to insert your Mapbox public access token (which can be found here) into app.vue.

Development

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

npm run dev

The application should now be running at http://localhost:3000/ (see forwarded ports if using Codespaces).

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

Deployment

To deploy your latest code to the web, simply commit and push your changes to the main branch in Github.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published