Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankcash/airflow-learning
https://github.com/frankcash/airflow-learning
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/frankcash/airflow-learning
- Owner: frankcash
- Created: 2018-08-06T17:40:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:20:52.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T23:18:36.091Z (7 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# airflow-learning
### Getting dependencies installed
```
$ cd /path/to/my/airflow_learning/
$ virtualenv -p `which python3` venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
(venv) $ airflow initdb
```### Running the web server
```
$ cd /path/to/my/airflow/workspace
$ source venv/bin/activate
(venv) $ export AIRFLOW_HOME=`pwd`/airflow_home
(venv) $ airflow webserver
```### Running the scheduler
```
$ cd /path/to/my/airflow/workspace
$ export AIRFLOW_HOME=`pwd`/airflow_home
$ source venv/bin/activate
(venv) $ airflow scheduler
```### Adding database
Go to the configuration tab underneath admin to add a database connection.