Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit ae6a64793164249eec4984a2f03e2eb82300d351
Author: Miroslav Suchý <msuchy(a)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
~~~~~~~~~~
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit ed688899f2caed76fb1a2a5e782a910c4fbecb40
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Jun 21 15:11:58 2013 +0200
copr does not work with selinux
yet, we will have to fix it later
>---------------------------------------------------------------
copr-setup.txt | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/copr-setup.txt b/copr-setup.txt
index c53acab..700db69 100644
--- a/copr-setup.txt
+++ b/copr-setup.txt
@@ -80,6 +80,7 @@ COPRS_ENVIRON_PRODUCTION=1 ./manage.py create_db --alembic alembic.ini
- for production is used ProductionConfig from coprs_frontend/coprs/config.py
+- setenforce 0 (sorry, putting on TODO)
DB config
=========
I created yum repo with copr.rpm:
http://copr-be.cloud.fedoraproject.org/results/msuchy/copr/
It is for el6 and F18. I'm testing it on F18 right now.
I plan to test el6 later. I still yet did not packaged backend. But CLI
and frontend should work.
I also plan to do regular builds later. I mean something like nightly
builds.
--
Miroslav Suchy
Red Hat Systems Management Engineering