airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-2132] Add step to initialize database
Date Thu, 01 Mar 2018 07:48:58 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master a27bd620d -> 2511c46c2


[AIRFLOW-2132] Add step to initialize database

Closes #3064 from kylehayes/patch-2


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/2511c46c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/2511c46c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/2511c46c

Branch: refs/heads/master
Commit: 2511c46c2dcd21f499e0466d198c51770ca620e8
Parents: a27bd62
Author: Kyle Hayes <mrkylehayes@gmail.com>
Authored: Thu Mar 1 08:48:52 2018 +0100
Committer: Fokko Driesprong <fokkodriesprong@godatadriven.com>
Committed: Thu Mar 1 08:48:52 2018 +0100

----------------------------------------------------------------------
 docs/installation.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/2511c46c/docs/installation.rst
----------------------------------------------------------------------
diff --git a/docs/installation.rst b/docs/installation.rst
index f066d5f..30fece7 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -94,3 +94,17 @@ Here's the list of the subpackages and what they enable:
 +---------------+----------------------------------------------+-------------------------------------------------+
 |  redis        | ``pip install apache-airflow[redis]``        | Redis hooks and sensors
                        |
 +---------------+----------------------------------------------+-------------------------------------------------+
+
+Initiating Airflow Database
+'''''''''''''''''''''''''''
+
+Airflow requires a database to be initiated before you can run tasks. If you're just
+experimenting and learning Airflow, you can stick with the default SQLite option. If
+you don't want to use SQLite, then take a look at :doc:`configuration` to setup a
+different database.
+
+After configuration, you'll need to initialize the database before you can run tasks:
+
+.. code-block:: bash
+
+    airflow initdb
\ No newline at end of file


Mime
View raw message