On Tue, 12 Apr 2011, Brooks, Travis C. wrote:
> I'd suggest that tools, like reinstall.sh, that work for INSPIRE, and
> help INSPIRE devs switch between INSPIRE for dev and Atlantis for
> testing, would make sense in an INSPIRE repo.
WRT centralised hosting of helper tools such is this one, see my
previous emails in this thread.
> Other tools, that help install Invenio from scratch, which reinstall
> does not do (as the name implies) might be more happily housed
> somewhere more general.
(Re)installing the demo site, from the perspective of everyday's work of
a developer, is not very common, but it takes only a one-liner:
$ sudo -u www-data /opt/cds-invenio/bin/inveniocfg --update-all \
--drop-demo-site --create-demo-site \
--load-demo-records --yes-i-know
(Re)installing all helper libraries (such as MathJax) is an even rarer
need, but it takes only a few more lines that one can extract easily
from the INSTALL file. People can take inspiration from my example
script `invenio-recreate-demo-site':
<http://simko.info/tmp/invenio-recreate-demo-site>
I promised some time ago to better describe various helper one-liners on
the wiki. I still have to do this... In the meantime, people can read
<https://savannah.cern.ch/task/?func=detailitem&item_id=13992#comment6>.
Best regards
--
Tibor Simko