How to build a nightly #191
Unanswered
RBEmerson970
asked this question in
Q&A
Replies: 2 comments 1 reply
-
As described above, there's no port assignment in the nightly version of Kokoro-FastAPI. What's needed to make the assignment during a build? Also, how do I verify the resulting container is actually the nightly version, and not the release version? FWIW, the current (as of this post) nightly branch' VERSION contains "v0.2.1". |
Beta Was this translation helpful? Give feedback.
1 reply
-
I peeled the version issue off to #212. The question about adding port assignments when doing a nightly build remains. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the Issues thread "Support more than 1 stream at the same time.", it was suggested to build a nightly. I plead guilty to topic drift into "How to build a nightly". So, I'll raise the topic here, and start with what I've learned so far. I'm using Docker under Win 11.
Start by downloading the Kokoro-FastAPI repo to a separate subdirectory (to avoid damaging a working version). Use GitHub Desktop to access the test repo clone. Across the top of the window, use the branch drop-down to select "nightly" (see below)

Use the CLI of choice (I use Powershell) to cd to the test repo (e.g., c:\Users\Test) . From this point, follow the "build" workflow in Readme.md as quoted below (note the "git clone" line is intentionally removed):
The results will be, in this grab, like the bottom line:

To access this container's version of Kokoro-FastAPI, you'll have to explicitly reference localhost:8880 (see following post for related question). Obviously, attempting to run two instances of Kokoro-FastAPI on the same ports won't work. (Note Docker doesn't allow changing ports on existing containers - AFAIK the only work-around is to duplicate a container with the new, desired ports in the duplicate.)
Beta Was this translation helpful? Give feedback.
All reactions