robiningelbrecht / strava-activities-template

This repository contains template code to generate your own Strava statistics pages
MIT License
30 stars 0 forks source link
strava strava-data website

Strava

CI Codecov.io License PHPStan Enabled PHP


Strava activities template

This repository contains the template code to generate your own Strava statistics pages. Just follow the steps below. If you experience any issues with any of the steps, feel free to open an issue. I'll be glad to help you out 💅.

🦄 Examples

🪄 What you'll need

🛠️ Installation

Configuration

Before running the first activity import, you need to

!!! It's important you wait until a workflow is done, before running another one !!!

☁️ Hosting the HTML version

There's also a HTML versions available with a lot more features. You can easily host this for free on https://vercel.com:

🧐 Some things to consider

❌ Getting errors while updating FTP / KeyValue store?

This is because I introduced breaking changes without realising it. Yeah, I know stupid. GitHub does not allow you to automatically update workflow files from a template, so you'll have to do this manually.

Update the following files in your own repository to the latest versions:

💡 Feature request?

For any feedback, help or feature requests, please open a new issue

💻 Local development

If you want to add features or fix bugs yourself, you can do this by setting up the project on your local machine. Just clone this git repository and you should be good to go.

The project can be run in a single Docker container which uses PHP. There's also a Make file to... make things easier:

# Run a docker-compose command.
make dc cmd="run"

# Run "composer" command in the php-cli container.
make dcr cmd="composer"

# Run an app console command
make console arg="app:some:command"

# Run the test suite.
make phpunit

# Run PHPStan
make phpstan

For other useful Make commands, check Makefile

📓 Change Log

All notable changes to this project will be documented in this file.

[2023-01-17]

[2023-01-13]

[2023-01-05]

[2023-01-01]

[2023-12-28]

[2023-12-24]

[2023-12-23]

[2023-12-21]

[2023-12-19]

[2023-12-18]

[2023-12-03]

[2023-12-01]

[2023-11-25]

[2023-11-18]

[2023-11-13]

[2023-11-09]

[2023-11-07]

[2023-11-04]

[2023-11-02]

[2023-10-30]

[2023-10-29]

[2023-10-26]

[2023-10-25]

[2023-10-25]

[2023-10-24]

[2023-10-21]

[2023-10-20]

[2023-10-19]

[2023-10-15]

[2023-10-12]