Skip to content

baristaGeek/direct-acyclic-graphs-htmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published