Skip to content

Commit 2f481a3

Browse files
committed
Merge pull request #6 from jonmountjoy/master
Fix spelling and small README doc tidyup
2 parents 0c6989e + 0007bce commit 2f481a3

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

README.md

+12-11
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,20 @@ How To Use This
1313
---------------
1414

1515
1. Navigate over to https://developer.uber.com/, and sign up for an Uber developer account.
16-
2. Register a new Uber application and make your Redirect URI http://localhost:7000/submit - `profile` and `history` OAuth scopes are required
17-
3. Fill in the relevant information in the config.json file in the root folder and add your client id and secret as the environment variables UBER_CLIENT_ID AND UBER_CLIENT_SECRET. Run 'export UBER_CLIENT_ID="YOUR_CLIENT_ID"&&export UBER_CLIENT_SECRET="YOUR_CLIENT_SECRET"'
18-
4. Run ‘pip install -r requirements.txt’ to install dependencies
19-
5. Run ‘python app.py’
20-
6. Navigate to http://localhost:7000 in your browser
16+
2. Register a new Uber application and make your Redirect URI http://localhost:7000/submit - ensure that both the `profile` and `history` OAuth scopes are checked.
17+
3. Fill in the relevant information in the `config.json` file in the root folder and add your client id and secret as the environment variables `UBER_CLIENT_ID` and `UBER_CLIENT_SECRET`.
18+
4. Run `export UBER_CLIENT_ID="YOUR_CLIENT_ID"&&export UBER_CLIENT_SECRET="YOUR_CLIENT_SECRET"`
19+
5. Run `pip install -r requirements.txt` to install dependencies
20+
6. Run `python app.py`
21+
7. Navigate to http://localhost:7000 in your browser
2122

2223

2324
Testing
2425
-------
2526

26-
1. Install the dependencies with pip install -r requirements.txt
27-
2. Run the command nosetests -v
28-
3. If you delete the fixtures, or decide to add some of your own, you’ll have to re-generate them, and the way this is done is by running the app, getting an auth_token from the main page of the app. Paste that token in place of the test_auth_token at the top of the test_endpoints.py file, then run the tests.
27+
1. Install the dependencies with `pip install -r requirements.txt`
28+
2. Run the command `nosetests -v`
29+
3. If you delete the fixtures, or decide to add some of your own, you’ll have to re-generate them, and the way this is done is by running the app, getting an auth_token from the main page of the app. Paste that token in place of the `test_auth_token` at the top of the `test_endpoints.py` file, then run the tests.
2930

3031

3132
Development
@@ -34,16 +35,16 @@ Development
3435
If you want to work on this application we’d love your pull requests and tickets on GitHub!
3536

3637
1. If you open up a ticket, please make sure it describes the problem or feature request fully.
37-
2. If you send us a pull request, make sure you add a test for what you added, and make sure the full test suite runs with nosetests -v.
38+
2. If you send us a pull request, make sure you add a test for what you added, and make sure the full test suite runs with `nosetests -v`.
3839

3940
Deploy to Heroku
4041
----------------
4142

42-
Click the buttom below to set up this sample app on Heroku:
43+
Click the button below to set up this sample app on Heroku:
4344

4445
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
4546

46-
After creating your app on Heroku, you have to configure the redirect url for your Uber OAuth app. Use a `https://{my-app-name}.herokuapp.com/submit` url.
47+
After creating your app on Heroku, you have to configure the redirect URL for your Uber OAuth app. Use a `https://{my-app-name}.herokuapp.com/submit` URL.
4748

4849
Making Requests
4950
---------------

0 commit comments

Comments
 (0)