Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
commit ae6a64793164249eec4984a2f03e2eb82300d351 Author: Miroslav Suchý msuchy@redhat.com Date: Fri Jun 21 15:19:39 2013 +0200
sqlite db must be owned by copr-fe user
copr-setup.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/copr-setup.txt b/copr-setup.txt index 700db69..a3dd962 100644 --- a/copr-setup.txt +++ b/copr-setup.txt @@ -94,6 +94,9 @@ SQLite - in file coprs_frontend/coprs/config.py put: SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.abspath(DATABASE) This will use sqlite db file in /usr/share/copr/data/copr.db (manage.py will create that file) +- Note that you have to either create db as copr-fe user or you have to run: + chown copr-fe:copr-fe /usr/share/copr/data/copr.db + after you run "./manage.py create_db"
PostgreSQL ~~~~~~~~~~
copr-devel@lists.fedorahosted.org