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
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ In addition to Python and the dependencies listed above, the following programs
79
79
*[`git`](https://git-scm.com/) (version 2.7.4 or later)
80
80
*[`pip`](https://pip.pypa.io/) (version 19.3.1 or later)
81
81
82
-
A [GitHub personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) is required *in an upcoming iteration*, because the Python scripts will use it for GitHub API queries.
82
+
A [GitHub personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) is required top be available as an environmental variable. This is because the Python scripts will use it for GitHub API queries. This token is an alphanumeric string in the form of "ghp_2D5TYFikFsQ4U9KPfzHyvigMycePCPqkPgWc".
83
83
84
84
### Running from source
85
85
@@ -125,9 +125,11 @@ Replace the command `podman` with `docker` depending on which one is available (
125
125
Then, the run the container on port 8000 at 127.0.0.1 with this command:
126
126
127
127
```sh
128
-
podman run --env PORT=8000 -p 127.0.0.1:8000:8000 wp22dev
128
+
podman run --env PORT=8000 --env GITHUB_TOKEN=[token] -p 127.0.0.1:8000:8000 -d wp22dev
129
129
```
130
130
131
+
Where `token` is the 40 character alphanumeric string of your GitHub API personal access token. It is in the form of "ghp_2D5TYFikFsQ4U9KPfzHyvigMycePCPqkPgWc".
132
+
131
133
The image built this way can be pushed to cloud hosting providers such as [Heroku](https://www.heroku.com/). With Heroku as an example:
132
134
133
135
1. Set up an empty app from your Heroku dashboard.
0 commit comments