policymap/README.org
2025-04-05 19:57:29 -07:00

51 lines
1012 B
Org Mode
Executable File

* A.I. workloads
a study on how far you can get with comodity hardware ai workloads. it took about a week working with the ai to get to the point of the snapshot.
more details are forthcoming.
* how to render the graph
** clone the repository
#+begin_src sh :results output
git clone gitea@git.saifharbor.org:saifharbor/policymap.git
#+end_src
** cd into the repository
#+begin_src sh :results output
cd policymap
#+end_src
** create a virtual environment for python
#+begin_src sh :results output
python -m venv venv
#+end_src
** activate the environment
#+begin_src sh :results output
source venv/bin/activate
#+end_src
** update pip
#+begin_src sh :results output
pip install upgrade pip
#+end_src
** install requirements
#+begin_src sh :results output
pip install -r requirements.txt
#+end_src
** cd into the renderer
#+begin_src sh :results output
cd render
#+end_src
** start the renderer
#+begin_src sh :results output
python app.py
#+end_src
** go to http://localhost:5000 to view the graph