@@ -68,7 +68,7 @@ $ sudo apt-get install python3-venv python3-wheel
6868$ python3 -m venv .venv
6969$ . .venv/bin/activate
7070$ pip install -U pip
71- $ git clone https://github.com/rust-ops /homu.git
71+ $ git clone https://github.com/rust-lang /homu.git
7272$ pip install -e homu
7373```
7474
@@ -84,30 +84,31 @@ the name of the repository you are configuring homu for.
8484 config values.
8585
86862 . Create a GitHub account that will be used by Homu. You can also use an
87- existing account. In the [ account settings] [ settings ] , go to "OAuth
88- applications " and create a new application:
87+ existing account. In the [ developer settings] [ settings ] , go to "OAuth
88+ Apps " and create a new application:
8989 - Make note of the "Client ID" and "Client Secret"; you will need to put them in
9090 your ` cfg.toml ` .
9191 - The OAuth Callback URL should be ` http://HOST:PORT/callback ` .
9292 - The homepage URL isn't necessary; you could set ` http://HOST:PORT/ ` .
9393
94- 3 . Go to the user settings of the GitHub account you created/used in the
94+ 3 . Go back to the developer settings of the GitHub account you created/used in the
9595 previous step. Go to "Personal access tokens". Click "Generate new token" and
9696 choose the "repo" and "user" scopes. Put the token value in your ` cfg.toml ` .
9797
98984 . Add your new GitHub account as a Collaborator to the GitHub repo you are
9999 setting up homu for. This can be done in repo (NOT user) "Settings", then
100- "Collaborators".
100+ "Collaborators". Enable "Write" access.
101101
102102 4.1. Make sure you login as the new GitHub account and that you ** accept
103103 the collaborator invitation** you just sent!
104104
1051055 . Add a Webhook to your repository. This is done under repo (NOT user)
106- "Settings", then "Webhooks". Click "Add webhook", the set:
106+ "Settings", then "Webhooks". Click "Add webhook", then set:
107107 - Payload URL: ` http://HOST:PORT/github `
108108 - Content type: ` application/json `
109109 - Secret: The same as ` repo.NAME.github.secret ` in ` cfg.toml `
110- - Events: ` Issue Comment ` , ` Pull Request ` , ` Push ` , ` Status ` , ` Check runs `
110+ - Events: click "Let me select individual events", then pick
111+ ` Issue comments ` , ` Pull requests ` , ` Pushes ` , ` Statuses ` , ` Check runs `
111112
1121136 . Add a Webhook to your continuous integration service, if necessary. You don't
113114 need this if using Travis/Appveyor.
@@ -127,7 +128,7 @@ the name of the repository you are configuring homu for.
1271287 . Go through the rest of your `cfg.toml` and uncomment (and change, if needed)
128129 parts of the config you' ll need.
129130
130- [settings]: https:// github.com/ settings/ applications
131+ [settings]: https:// github.com/ settings/ apps
131132[travis]: https:// travis- ci.org/ profile/ info
132133
133134# ## How to run
0 commit comments