On Wednesday, July 3, 2019 at 2:39:02 PM UTC-7, steeple ian wrote: > > Matthew and Gary, > > A quick question, if I wanted the packaged skin to install some files > directly into the web root rather than skin or bin/user, (a) is this > possible? (b) what is the syntax? I have tried all the various path options > that I can think of and install.py keeps throwing syntax errors. > > My understanding of the correct way is to install your extension to the skin root and then use the 'copy_once' feature in skin.conf to get those files to get into the docroot when weewx starts up.
For an example of one of my extensions, see https://github.com/vinceskahan/vds-weewx-local-skin/blob/master/skins/vds-local/skin.conf (line 40 or so) and the matching installer script that's at https://github.com/vinceskahan/vds-weewx-local-skin/blob/master/install.py as well. It's worked well for me for several years that way FWIW. -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/055be1f9-6f44-4296-9b03-7e81e5e8ea09%40googlegroups.com.
