How to add new DAGs to Airflow? : <p>I have defined a DAG in a file called <code>tutorial_2.py</code> (actually a copy of the <code>tutorial.py</code> provided in the <code>airflow</code> tutorial, except with the <code>dag_id</code> changed to <code>tutorial_2</code>).</p>

<p>When I look inside my default, unmodified <code>airflow.cfg</code> (located in <code>~/airflow</code>), I see that <code>dags_folder</code> is set to <code>/home/alex/airflow/dags</code>. </p>

<p>I do <code>cd /home/alex/airflow; mkdir dags; cd dags; cp [...]/tutorial_2.py tutorial_2.py</code>. Now I have a <code>dags</code> folder matching the path set in <code>airflow.cfg</code> , containing the <code>tutorial_2.py</code> file I created earlier.</p>

<p>However, when I run <code>airflow list_dags</code>, I only get the names corresponding with the default, tutorial DAGs.</p>

<p>I would like to have <code>tutorial_2</code> show up in my DAG list, so that I can begin interacting with. Neither <code>python tutorial_2.py</code> nor <code>airflow resetdb</code> have caused it to appear in the list.</p>

<p>How do I remedy this?</p>
