Sure, it depends on the build system. So for Java I’ve seen the build script (maven pom.xml) pull the files from NPM or GitHub, unpack it and copy the contents of the dist folder into the right location. I’m not sure how this is usually done with Python.
> On Jan 30, 2017, at 11:26 PM, Feorlen <[email protected]> wrote: > > > On Monday, January 30, 2017 at 10:23:40 PM UTC-8, tony tam wrote: > What build system do you use? What language do you work within? > > The system is primarily Python and uses Django. The part I know is the > Python backend and I'm not sure what to tell you about the rest besides there > is some javascript and static web content as well. I needed to add a Django > package to handle CORS for Swagger UI, but that's as much as I know about > Django. > > There's an architecture overview here if you are interested: > http://zulip.readthedocs.io/en/latest/architecture-overview.html. > > I spent some time looking into npm, I didn't see how it can do anything other > than install the full package in the usual location where it installs all > packages. (Which is not somewhere web content is served from.) > > I don't need to build anything, I'm only using the dist directory. Several > different documents/blogs/etc have said to just put that directory in some > appropriate location for web content. That's what I have, checked into our > repo, and a redirect from a url to make it accessible when the application is > running. But it isn't under any sort of package management that way. > > When folks use the simple method with only the dist directory, how do they > generally update it for new versions? > > > -- > You received this message because you are subscribed to the Google Groups > "Swagger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
