You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(README): Updated to include that this project is now sponsored by Digital Ocean and to include better docs about local development and how it is hosted
Copy file name to clipboardExpand all lines: README.md
+75-28Lines changed: 75 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,13 @@ Also when viewing all Pull Requests, you'll see the green tick when all complete
44
44
45
45
Find out more about GitHub task lists: https://help.github.com/en/articles/about-task-lists
46
46
47
+
<br>
48
+
<ahref="https://m.do.co/c/60c76a17a70d">
49
+
<img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/PoweredByDO/DO_Powered_by_Badge_blue.svg" alt="Powered By DO" width="201px">
50
+
</a>
51
+
52
+
<small>This project is supported by & hosted on Digital Ocean, thanks!</small>
53
+
47
54
## Docs
48
55
49
56
Install & add to the repos you want.
@@ -63,47 +70,87 @@ This was inspired by [another project here](https://github.com/Shopify/task-list
63
70
64
71
Tasks that contain "OPTIONAL" in all caps are also skipped unless checked, they are also added to an "(+X optional)" text in the check. This is useful for tasks that are not required to be completed before the PR can be merged.
65
72
66
-
## TODO
73
+
## Contributing / Development
67
74
68
-
-[x]~~unit tests & travis CI~~
69
-
-[ ] Submit to https://github.com/probot/probot.github.io/blob/master/.github/app-review-process.md
70
-
-[ ] Add config to allow changing from in_progress to completed but with a failure or neutral conclsion if needed -> https://probot.github.io/api/latest/classes/context.html#config
71
-
-[ ] Finish docs, e.g. about using a .github/task-list.yml for above
75
+
Code previous ran on Glitch, now it's hosted on Digital Ocean.
76
+
Hosting is via multiple droplets, one configured as a load balancer & then additional worker nodes/droplets for the actual checks to run on.
72
77
73
-
## Contributing
78
+
*For previous glitch deployments, on the glitch page, click tools > console and then run `git pull origin master && refresh`.
79
+
Permission changes would need to be changed in the app on github.*
74
80
75
-
For now, on Glitch you can click to "remix to edit" and then work on your own forked version.
76
-
Then if you have ideas to bring over, you can submit an issue to discuss them or a pull request with the code changes.
77
-
Thank you.
81
+
### Local development
78
82
79
-
You can also help support the hosting and development of this project with coffee power:
80
-
<ahref="https://www.buymeacoffee.com/stilliard"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/default-orange.png"alt="Buy Me A Coffee"style="height: 51px!important;width: 217px!important;" ></a>
83
+
Using node v18+ & npm 10+ (older versions may also work, your mileage may vary).
84
+
85
+
Local development can be done by cloning this repo:
Load up http://localhost:3000/probot and follow intructions to set up the app.
102
+
On first run, it will create your `.env` with an initial `WEBHOOK_PROXY_URL=xxxxx`.
103
+
After following the set up, make sure you have `APP_ID`, `PRIVATE_KEY`, `WEBHOOK_SECRET` all set.
104
+
You can change the port it runs on with `PORT=3001` for example and set a `NODE_ENV=production` for production logs, [more details about logs here](https://probot.github.io/docs/logging/).
Instead of `npm start`, typically in production you'll use a [service file to run via systemd](https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html) or similar.
126
+
e.g.
127
+
```systemd
128
+
[Service]
129
+
ExecStart=npm start
130
+
WorkingDirectory=/srv/github-task-list-completed
131
+
Restart=always
81
132
82
-
## Development for main repo
133
+
[Install]
134
+
WantedBy=multi-user.target
135
+
```
136
+
137
+
You can also help support the hosting and development of this project with coffee power:
83
138
84
-
Code previous ran on Glitch, now it's self hosted.
85
-
86
-
For glitch deployments, on the glitch page, click tools > console and then run `git pull origin master && refresh`.
87
-
Permission changes would need to be changed in the app on github.
139
+
<ahref="https://www.buymeacoffee.com/stilliard"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/default-orange.png"alt="Buy Me A Coffee"style="height: 51px!important;width: 217px!important;" ></a>
88
140
89
141
## Security
90
142
91
-
The code is all here to see & available on the Glitch link below which is also where the service runs.
92
-
No data about your user or repo is logged.
143
+
All code is Open source, [MIT license](./LICENSE). Production checks currently log repo name & PR ID for debug purposes only and logs are removed after a max of 7 days.
144
+
No logs are recorded about your repos themselves nor the pull request contents.
145
+
146
+
Hosted check is on DO's [SFO3](https://www.digitalocean.com/blog/introducing-a-new-datacenter-in-the-san-francisco-region-sfo3).
93
147
94
148
If you discover a security issue please email it to myself at [email protected] and I will get back to you asap. For all other issues or help you can create an issue on this project - Thank you.
95
149
96
150
## Credits
151
+
97
152
-[Probot](https://github.com/probot/probot) - Used to build this project
98
-
-[Glitch](https://glitch.com/) - Used as an online editor & to host the service
153
+
-[Glitch](https://glitch.com/) - Previously used to start this project
99
154
-[WIP](https://github.com/wip/app) - Inspiration for this project
100
155
-[Juliia Osadcha / iconfinder](https://www.iconfinder.com/icons/1790658/checklist_checkmark_clipboard_document_list_tracklist_icon) Icon used for this project
101
-
102
-
#### About Glitch
103
-
104
-
This repo was started on Glitch: https://glitch.com/edit/#!/task-list-completed
105
-
106
-
**Glitch** is the friendly commmunity where you'll build the app of your dreams. Glitch lets you instantly create, remix, edit, and host an app, bot or site, and you can invite collaborators or helpers to simultaneously edit code with you.
107
-
108
-
Find out more [about Glitch](https://glitch.com/about).
109
-
\ ゜o゜)ノ
156
+
-[DigitalOcean](https://m.do.co/c/60c76a17a70d) - Hosting of the live app check
0 commit comments