Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 815 Bytes

CONTRIBUTING.md

File metadata and controls

41 lines (27 loc) · 815 Bytes

Contributing

Running your own version of Stravanity

There are 2 ways to run your own version of Stravanity:

Run locally with the production app

npm install
npm run dev

Open localhost:5173 in your browser

Copy the access_token cookie from https://stravanity.boris.sh/ and paste it in your local version to connect to Strava

Run with your own Strava app + Vercel

Create a Strava API app

Create an account on Vercel

Create an .env file at the root of the project to set the following environment variables:

STRAVA_ACCESS_TOKEN
STRAVA_CLIENT_ID
STRAVA_CLIENT_SECRET
STRAVA_REDIRECT_URI
VITE_STRAVA_CLIENT_ID

The rest is as easy as:

npm install
vercel dev

Open localhost:3000 in your browser