Update Auth.elm instructions

This commit is contained in:
Richard Feldman
2016-04-02 07:16:20 -07:00
parent e19b0c5be6
commit f35c319a6f

View File

@@ -33,7 +33,21 @@ the Search API, these steps can be done either on your personal GitHub account o
1. Visit https://github.com/settings/tokens/new 1. Visit https://github.com/settings/tokens/new
2. Enter "Elm Workshop" under "Token description" and leave everything else blank. 2. Enter "Elm Workshop" under "Token description" and leave everything else blank.
3. Create the token and copy it into `Auth.elm`. 3. Create the token and copy it into a new file called `Auth.elm`:
*Auth.elm*
```elm
module Auth (token) where
token =
-- Your token should go here instead of this sample token:
"abcdef1234567890abcdef1234567890abcdef12"
```
*Note:* Auth.elm is in `.gitignore` to avoid accidentally checking in an API
secret.
## Start with Stage 1 ## Start with Stage 1