|
1 | 1 | # OSD status dashboard _(wp2.2_dev)_ |
2 | 2 |
|
3 | | -[](https://wp22dev.herokuapp.com/) |
| 3 | +[](https://wp22dev.fly.dev/) |
4 | 4 | [](https://docs.python.org/3.8/) |
5 | 5 |  |
6 | 6 | [](https://github.com/RichardLitt/standard-readme) |
@@ -81,7 +81,7 @@ A [GitHub personal access token](https://docs.github.com/en/github/authenticatin |
81 | 81 |
|
82 | 82 | ### Running from source |
83 | 83 |
|
84 | | -The code can be run from source and has been tested on updated versions of GNU/Linux server operating systems including [Red Hat Enterprise Linux](https://redhat.com/en/technologies/linux-platforms/enterprise-linux) 8.5. While effort has been made to keep the Python scripts platform-agnostic, they have not been tested under other operating systems such as [BSD](https://en.wikipedia.org/wiki/Berkeley_Software_Distribution)-derivatives, [Apple macOS](https://www.apple.com/macos/) or [Microsoft Windows](https://www.microsoft.com/windows/) as they - especially the latter two- are rarely used for hosting code such as this. |
| 84 | +The code can be run from source and has been tested on updated versions of GNU/Linux server operating systems including [Red Hat Enterprise Linux](https://redhat.com/en/technologies/linux-platforms/enterprise-linux) 8.7. While effort has been made to keep the Python scripts platform-agnostic, they have not been tested under other operating systems such as [BSD](https://en.wikipedia.org/wiki/Berkeley_Software_Distribution)-derivatives, [Apple macOS](https://www.apple.com/macos/) or [Microsoft Windows](https://www.microsoft.com/windows/) as they - especially the latter two - are rarely used for hosting code such as this. |
85 | 85 |
|
86 | 86 | On your server, with the tools [`git`](https://git-scm.com/) and [`pip`](https://pip.pypa.io/) installed, run the following commands in a terminal session to retrieve the latest version of this repository and prepare it for development and running locally (usually for testing): |
87 | 87 |
|
@@ -154,14 +154,6 @@ podman push wp22dev registry.heroku.com/[your app name]/web |
154 | 154 | heroku container:release web --app=[your app name] |
155 | 155 | ``` |
156 | 156 |
|
157 | | -A demo of this is hosted on Heroku with this API endpoint: |
158 | | - |
159 | | -``` |
160 | | -https://wp22dev.herokuapp.com/data |
161 | | -``` |
162 | | - |
163 | | -This demo instance will go into a sleep state after a period of inactivity (approximately 30 minutes at time of writing). If your API calls to this endpoint is taking more than a few seconds, it might be the demo waking from that state. |
164 | | - |
165 | 157 | #### Fly.io example |
166 | 158 |
|
167 | 159 | Similar to Heroku, the container image created above can be deployed to an app on [Fly.io](https://fly.io/). Assuming a Fly.io account has already been created: |
@@ -204,6 +196,14 @@ flyctl secrets set GITHUB_TOKEN=[token] |
204 | 196 |
|
205 | 197 | Where `token` is the 40 character alphanumeric string of your GitHub API personal access token. It is in the form of "ghp_2D5TYFikFsQ4U9KPfzHyvigMycePCPqkPgWc". |
206 | 198 |
|
| 199 | +A demo of this is hosted on Fly.io with this API endpoint: |
| 200 | + |
| 201 | +``` |
| 202 | +https://wp22dev.fly.dev/data |
| 203 | +``` |
| 204 | + |
| 205 | +This demo instance will go into a sleep state after a period of inactivity (approximately 30 minutes at time of writing). If your API calls to this endpoint is taking more than a few seconds, it might be the demo waking from that state. |
| 206 | + |
207 | 207 | ## Usage |
208 | 208 |
|
209 | 209 | The backend server listens to requests for information about a list of open source hardware (and software) repositories hosted on Wikifactory or GitHub. |
|
0 commit comments