Skip to content

We are the local cycling organization located in Komorniki (Greater Poland). Our mission is to deliver the cycling sporting success, grow and effectively inspire and support people to cycle regularly.

License

pawelek-org/komornikimtb

Repository files navigation

Komorniki MTB Team Site

Komorniki MTB Team Logo

We are the local cycling organization located in Komorniki (Greater Poland). Our mission is to deliver the cycling sporting success, grow and effectively inspire and support people to cycle regularly.

Live URL (in polish): komornikimtb.pl

Resources

  1. Jekyll
  2. Memoirs theme
  3. Netlify CMS
  4. Netlify
  5. Strava Ruby Client
  6. Github

Netlify Status

Local installation

  1. You will need Ruby and Bundler to use Jekyll. Following Using Jekyll with Bundler to fullfill the enviromental requirement.

  2. Install the dependencies specified in your Gemfile:

$ bundle install 
  1. Serve the local website (localhost:4000 by default):
$ bundle exec jekyll serve --watch --livereload

Netlify CMS

Netlify CMS is a single-page app that you pull into the /admin part of this site. It uses git-gateway authorization method.

Read more about Netlify CMS Core Concepts.

See the configuration located in /admin/config.yml.

Strava Ruby Client

Latest club bike rides are fetched from Strava API via Strava Ruby Client. In order to use you need to add token variables obtained from My API Application in the Strava UI.

ENV['STRAVA_CLIENT_ID']
ENV['STRAVA_CLIENT_SECRET']
ENV['STRAVA_API_REFRESH_TOKEN']
ENV['STRAVA_API_CLUB_ID']

Run this command to execute the Strava script in the context of the current bundle (Rakefile):

$ bundle exec rake strava:clubrides --trace

Production

The directory /_site is where the generated site will be placed (by default) once Jekyll is done transforming it.

$ JEKYLL_ENV=production bundle exec rake strava:clubrides && bundle exec jekyll build --config _config.yml,_config_prod.yml

Contributing

You're encouraged to submit pull requests, propose features and discuss issues.

License

MIT License (See LICENSE.txt)

About

We are the local cycling organization located in Komorniki (Greater Poland). Our mission is to deliver the cycling sporting success, grow and effectively inspire and support people to cycle regularly.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published