Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 96c1cb6d65a301c050b1a365c1fbb3da8133fb9c
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Apr 2 15:52:19 2015 +0200
be precise on how to populate data
---------------------------------------------------------------
copr-setup.txt | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/copr-setup.txt b/copr-setup.txt
index fca0cc9..e5b1bfa 100644
--- a/copr-setup.txt
+++ b/copr-setup.txt
@@ -97,7 +97,7 @@ SQLite
This will use sqlite db file in /var/lib/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 /var/lib/copr/data/copr.db
- after you run "./manage.py create_db"
+ after you run "./manage.py create_db --alembic alembic.ini"
PostgreSQL
~~~~~~~~~~
@@ -127,6 +127,9 @@ and test the connection:
PGPASSWORD=coprpass psql -a -U copr-fe coprdb
PGPASSWORD=coprpass psql -a -h localhost -U copr-fe coprdb
+Then run:
+ "./manage.py create_db --alembic alembic.ini"
+
Upgrade
=======
After upgrade of copr-frontend you should upgrade db schema: