[Taginfo-dev] Config file
Jochen Topf
jochen at remote.org
Mon Oct 10 17:03:37 BST 2011
Hi!
I have added a config file and the code to read it in Taginfo. Several settings
which are different in different instances or now in that config file. An
example is provided. You have to copy that example on directory level up (so
its outside the repository) and change according to your needs.
I have also added the flag images for the countries that are currently running
a Taginfo server (ch, fr, ie, it) to the repository as img/instance-CC.png, you
can just set those file names in the config file.
With the config file outside the repository, changes to the files in the
repository for each instance can be kept to a minimum. Please check all your
local changes and tell me if there are other things that should be put into the
config file. (Or send patches that do that. Getting to the config settings from
ruby is easy: TaginfoConfig.get('instance.name')
I am aware that some local paths and all the C++ stuff is still an issue and
am open for suggestions on how to fix that. The paths could be settings in the
config file, but I am not sure how to best get the settings out into the shell
scripts and Makefiles.
On popular request I have changed the XAPI server to the Mapquest one (although
that seems to not work for me either). But you can decide that yourself now,
its a setting in the config file.
I hope that with this step I have made setting up and running your local
instances a bit easier.
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the Taginfo-dev
mailing list