Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 812 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 812 Bytes

This repo contains the source code of Trail Routes

Written with Next.js, Typescript, Tailwind CSS, Mapbox GL, Turf.js Parses gpx files and shows them on a map.

Getting Started

First create a mapbox account and get an access token. Add it as NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN to a file called .env.local.

NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=

Install dependencies

npm install
# or
yarn

Start the server with

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Troubleshooting

If you get an error like fatal error: 'vips/vips8' file not found you need to install the vips package.

brew install vips