https://github.com/eggheadio/professional-javascript-testing-temp
https://github.com/eggheadio/professional-javascript-testing-temp
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eggheadio/professional-javascript-testing-temp
- Owner: eggheadio
- License: mit
- Created: 2018-09-28T16:29:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T21:38:09.000Z (over 7 years ago)
- Last Synced: 2024-12-28T11:12:05.256Z (over 1 year ago)
- Language: JavaScript
- Size: 1.87 MB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Professional JavaScript Testing with Kent C. Dodds
## Authentication
You must copy `.env.development.template` to `env.development` and acquire a client ID from your local dev server https://egghead.af:5000/oauth/applications/new while logged in as an admin.
From there you can just make an app (uncheck confidential) and copy the client ID into `env.development`.
You will also need a `BUNDLE_BUDDY_TOKEN` in your `env.development`. This can be generated by logging into your rails console with `rails c` and:
```
# might require `rake data:migrate`
user = User.find_by_email('bundle.buddy+bot@egghead.io')
user.access_tokens.create
```
Also, remember to `rake staging:update_local_dev_database` to get all the content.
github creds go in `~/.netrc` for this:
```
machine api.github.com
login USERNAME
password SECRET
```