StatistikStadtZuerich / stat.stadt-zuerich.ch

API Backend for the linked open statistical data of the Municipality of Zurich
Other
0 stars 0 forks source link

Use different configs for prod and integ #49

Closed vhf closed 6 years ago

vhf commented 6 years ago

@mchlrch Could you please review this?

It should default to integ config unless built by the build_prod_web job. That way we'll be able to resolve the conflicts between master and develop, and eventually streamline both the dev process and the deploy process.

mchlrch commented 6 years ago

@vhf So far, I have not dealt with the config for prod (and diffs to integ) in this project myself. Anyway, I will have a look at it now and give you my feedback.

mchlrch commented 6 years ago

@vhf Nice. From what I can tell, the only thing missing is the file build/support/shape.context.jsonld, which also has a manually maintained diff for integ/prod. That file is used during npm run update-api in build/build-views-jsonld-context.js as the starting point to generate api/shape.context.jsonld.