You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/04 16:10:34 UTC

[GitHub] [airflow] ashb commented on a change in pull request #15631: Add setting up using VS Code

ashb commented on a change in pull request #15631:
URL: https://github.com/apache/airflow/pull/15631#discussion_r625915119



##########
File path: CONTRIBUTORS_QUICK_START.rst
##########
@@ -544,6 +551,48 @@ Setting up Debug
                alt="Add environment variable pycharm">
         </div>
 
+- Now Debug an example dag and view the entries in tables such as ``dag_run, xcom`` etc in mysql workbench.
+
+B. Using Visual Studio Code
+
+- In Visual Studio Code open airflow project, directory ``\files\dags`` of local machine is by default mounted to docker
+  machine when breeze airflow is started. So any DAG file present in this directory will be picked automatically by
+  scheduler running in docker machine and same can be seen on ``http://127.0.0.1:28080``.
+
+- Copy any example DAG present in airflow project's ``\airflow\example_dags`` directory to ``\files\dags\``.
+
+- Add main block at the end of your DAG file to make it runnable. It will run a back_fill job:

Review comment:
       Double backticks for inline code in rst files.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org