Skip to content

Commit

Permalink
Typos and clarification of supported file types
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Mar 14, 2016
1 parent 1711afc commit 1ae758c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stravaup
Upload files to strava.com from the command line.
Upload FIT, TCX and GPX files to strava.com from the command line.

## Prerequisites
* POSIX shell
Expand All @@ -8,25 +8,25 @@ Upload files to strava.com from the command line.
## Setup
1. Sign up at http://www.strava.com/
2. Register your own Strava client at https://www.strava.com/settings/api
3. Create a .stravauprc file in your home directory
3. Create a .stravauprc file in your home directory:
~~~
STRAVAUP_CLIENT_ID=FIXME
STRAVAUP_CLIENT_SECRET=FIXME
~~~
4. Get your authorization code
* Go to https://www.strava.com/oauth/authorize?client_id=YOUR_STRAVAUP_CLIENT_ID&response_type=code&redirect_uri=http://localhost/index.php&approval_prompt=force&scope=write
* Select 'Authorize' wich will lead to a redirect URL
* Copy the code from the redirect URL into your .stravauprc,
* Select 'Authorize' which will lead to a redirect URL
* Copy the code from the redirect URL into your .stravauprc:
~~~
STRAVAUP_CODE=FIXME
~~~

## Usage
Upload a sigle fit file
Upload a single file:

stravaup file.fit

Use find and xargs to upload everything
Use find and xargs to upload everything:

find -iname \*.fit | xargs stravaup

Expand Down

0 comments on commit 1ae758c

Please sign in to comment.