Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.07 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.07 KB

Directed Acyclic Graphs with HTMX

Before running, make sure that you have Python 3.6+ and node 18.x or later installed.

To run locally:

  1. Go to the root project and open up 2 terminal windows
  2. In the first one, create a virtual Python environment by running the following commands:
python3 -m venv .venv
 . .venv/bin/activate
  1. On that same terminal, with the virutal environment activated, install the dependecies by running the following command:
pip install -r requirements.txt
  1. The last step on the first terminal is to run the app by running the following command:
flask --app dagData run

If you get an error, try running deactivate, activate the environment again, and run the Flask app again. 5. In the second terminal, run npm install and then the following command:

 http-server -p 8080
  1. Go to http://localhost:8080/hello to see the app

  2. (Optional) If you want to play with a different DAG, create your own by editing the dagData.py file

dag-demo_rQwn7ZCM.mp4