Giter Club home page Giter Club logo

strava_weather's Introduction

Strava Weather Display

2016-07-31

Welcome to my Strava Weather display! Once you get setup (instructions below), when you first visit the page you should be prompted to log in with your Strava account. Once authorized, you'll see a list of all of your activities on the left-hand side of the page. Click on one of the activities to see a map of the route and the weather at the start of that particular activity.

Setup

cd strava_weather

# Create virtualenv
virtualenv venv
source venv/bin/activate

# Install requirements
pip install -r requirements.txt

# Create the tables
python manage.py create_db

# Start the webserver
python manage.py runserver

# Visit http://localhost:5000

Notes

  • I didn't want to share my API keys publically. If you have keys for Forecast.IO and Strava, you can add them to the project or exporting them to the environment before running the server. You can see a working copy at http://strava.ryanmo.co. export FORECASTIO_KEY=YOUR_KEY_HERE

Ideas for future improvement

  • For longer activities, having markers along the map that you can click to see weather along the route
  • Better mobile setup
    • iPad landscape is fine
    • iPhone isn't great
  • Show saved routes and ability to see future weather (is this possible? Could be useful for planning touring/longer rides)

Libraries Used

strava_weather's People

Contributors

rjames86 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.