From 3f09ece2f00f874f80a77c7b49d098f8567d4864 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 05 2017 11:29:22 +0000 Subject: Adjust the documentation around the use of createdb.py --- diff --git a/doc/install.rst b/doc/install.rst index 5d3d9a9..a5c453a 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -221,8 +221,8 @@ tables, the database scheme. For changes to existing tables, we rely on `Alembic `_. It uses `revisions` to perform the upgrades, but to know which upgrades are needed and which are already done, the current revision needs to be saved -in the database. This will allow alembic to know apply the new revision when -running it. +in the database. This will allow alembic to know and apply the new revision +when running it. In the ``alembic.ini`` file, one of the configuration key is most important: ``script_location`` which is the path to the ``versions`` folder containing @@ -266,6 +266,9 @@ pagure. be used the first time as it will otherwise break upgrading the database schema via alembic. +.. note:: When install from source the script is called ``createdb.py`` and + not ``pagure_createdb.py``. + Set up virus scanning ---------------------