Dear Thayer,
ghini.web is a series of prototypes (is it three?), each produced while attempting to get the interest of a garden, or a garden network, or maybe while I was learning some new technology. the one running on web.ghini.me, that's thought for garden networks.
the directions in the readme are very possibly not quite
self-contained. if you managed to get the software running on
localhost, then their goal is achieved! :-) if you want to have
it visible from outside your local network, you need to dive into
security management, maybe you need to set up virtual hosts, I am
not so sure, it depends on what's your environment. you mention
Apache, I don't use that. on ghini.me I have nginx, and I
sincerely do not remember all that I had to do in order to
securely expose ghini.web as web.ghini.me. it was all just
ordinary reading manuals, following guidelines, checking again
with the manuals, and maybe on online communities like
stackoverflow. I do not remember, and since it was just standard
stuff that any sysop needs to manage, I did not take notes. ask
your sysop, I would say.
as for why mongodb instead of postgresql… the first prototype
(https://github.com/mfrasca/ghini-inception) was indeed using
postgresql, connecting to a ghini.desktop database, it was able to
show live data, and even to update the view reacting to database
changes. but as said, I did not find any garden sponsoring this
development, and I dropped that line. the second prototype (https://github.com/Ghini/ghini.web)
uses mongodb because I hoped to save on development time, and make
a start while the requirements hadn't frozen yet. schema-less
mongodb allows me to define database fields just as I need them,
try out, go back, without changing existing data.
there's a third prototype (https://github.com/mfrasca/ghini) at
which I'm working currently, I'm writing it in Python (server
side), using Django, and it's obviously JavaScript client side.
it is a single-page app, will inherit the geographic interface
from ghini.web, and the ultimate goal is to have it replace
ghini.desktop-3.1. it is in a very early stage, so don't consider
this even as an announcement. Django is proving itself a great
tool.
except for the second ghini.web prototype, you won't find them in the Ghini organization, you have to look into my own github.com/mfrasca profile, that's what I consider my sandbox.
does this answer your questions? if not, please ask again.
sorry for the delay: we had 10h power outage yesterday, and no
internet connection after the first 2h.
cheers,
Mario
--
You received this message because you are subscribed to the Google Groups "ghini/bauble" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bauble+un...@googlegroups.com.
To post to this group, send email to bau...@googlegroups.com.
Visit this group at https://groups.google.com/group/bauble.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to bau...@googlegroups.com.