On Tue, Jun 2, 2020 at 2:36 PM Arthur Smith <[email protected]> wrote:
>
> Just to follow up, I did get this working. The main thing seems to be setting 
> up a uwsgi.ini file that works, then the docker run command just needs to 
> call something like "sh -c "/usr/bin/uwsgi --ini <uwsgi.ini file>"; setting 
> up the virtualenv is also needed as a preceding step, which can be done with 
> similar docker run command(s) to install and run pip etc. Do you think it's 
> worth adding this to the wikitech docs?

I think it would be fine to document as a workflow you have used, but
I think that it should be in a separate article from
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes rather
than inline there. My reasoning for that is that this is a) not really
a matching process to the actual Toolforge runtime and b) most users
will not want or need to use the process you have found for testing.

We have a lot more cleanup work to do, but Sarah R and others have
been doing a lot of work to try and streamline the main Help pages to
make learning about the core workflows in Toolforge easier. We really
do not have a strong set of editorial policies yet for how to organize
these sorts of useful but less mainstream tips. That is something that
we need to work on and would be happy to hear ideas about. Luckily
wiki's are pretty good at dealing with splitting and merging content
over time, so we do not have to get things perfect the first time. :)


Bryan
-- 
Bryan Davis              Technical Engagement      Wikimedia Foundation
Principal Software Engineer                               Boise, ID USA
[[m:User:BDavis_(WMF)]]                                      irc: bd808

_______________________________________________
Wikimedia Cloud Services mailing list
[email protected] (formerly [email protected])
https://lists.wikimedia.org/mailman/listinfo/cloud

Reply via email to