Skip to content

Commit 9ee52a4

Browse files
committed
Document the startup procedure
1 parent a18378f commit 9ee52a4

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,26 @@
22

33
What's this?? ATM an experiment to see if a bot could be helpful for the Node.js project, to automate all the things!
44

5+
## Get it started
6+
7+
It's required to have a [GitHub API token](https://github.com/blog/1509-personal-api-tokens) and [Travis token](https://blog.travis-ci.com/2013-01-28-token-token-token/) before starting the bot.
8+
9+
```bash
10+
$ GITHUB_TOKEN=X TRAVIS_CI_TOKEN=Z npm start
11+
```
12+
13+
### Create a GitHub access token
14+
15+
Go to your own profile settings page and [generate a personal access token](https://github.com/settings/tokens/new). After clicking the **Generate token** button you're presented with the token you should put in `$GITHUB_TOKEN` when starting the bot.
16+
17+
### Retrieving your Travis token
18+
19+
Your Travis token is visible on [your profile](https://travis-ci.org/profile) page, by clicking the "show token" link.
20+
521
## Contributing
622

723
Please do, contributions are more than welcome!
824

925
## License
1026

11-
MIT
27+
MIT

0 commit comments

Comments
 (0)