]> rtime.felk.cvut.cz Git - coffee/coffee-flask.git/commit
Change the name of the configuration file
authorMichal Sojka <michal.sojka@cvut.cz>
Wed, 27 Feb 2019 15:26:54 +0000 (16:26 +0100)
committerMichal Sojka <michal.sojka@cvut.cz>
Wed, 27 Feb 2019 15:40:58 +0000 (16:40 +0100)
commit918d9dc1453b21d2d0aff6c4b3e91d2c25faa072
tree2cd100510d1a25bbc1a8d7fc49be411635f6313f
parentdbb2434484aba3d2f526b4c3b520eb6170d29fb9
Change the name of the configuration file

The reason for this is that the Apache mod_wsgi sets the current
directory of WSGI processes to $HOME and on our server $HOME/.config
is a directory. Instead of changing the working directory of WSGI
processes (which I don't know how to configure), I prefer to use a
different (non-colliding) file name: .coffee.conf. Having the
configuration file outside of the source directory has the advantage
that running "git clean -fx" in that directory does not delete the
configuration, which cannot be easily recovered (our Slack history is
limited).
.gitignore
app.py