and again

This commit is contained in:
Moses Rolston 2025-03-20 07:38:46 -07:00
parent 69b4f6aa8a
commit 193f29de4d

View File

@ -1,42 +1,43 @@
* clone the repository * how to render the graph
** clone the repository
#+begin_src sh :results output #+begin_src sh :results output
git clone gitea@git.saifharbor.org:saifharbor/policymap.git git clone gitea@git.saifharbor.org:saifharbor/policymap.git
#+end_src #+end_src
* cd into the repository ** cd into the repository
#+begin_src sh :results output #+begin_src sh :results output
cd policymap cd policymap
#+end_src #+end_src
* create a virtual environment for python ** create a virtual environment for python
#+begin_src sh :results output #+begin_src sh :results output
python -m venv venv python -m venv venv
#+end_src #+end_src
* activate the environment ** activate the environment
#+begin_src sh :results output #+begin_src sh :results output
source venv/bin/activate source venv/bin/activate
#+end_src #+end_src
* update pip ** update pip
#+begin_src sh :results output #+begin_src sh :results output
pip install upgrade pip pip install upgrade pip
#+end_src #+end_src
* install requirements ** install requirements
#+begin_src sh :results output #+begin_src sh :results output
pip install -r requirements.txt pip install -r requirements.txt
#+end_src #+end_src
* cd into the renderer ** cd into the renderer
#+begin_src sh :results output #+begin_src sh :results output
cd render cd render
#+end_src #+end_src
* start the renderer ** start the renderer
#+begin_src sh :results output #+begin_src sh :results output
python app.py python app.py
#+end_src #+end_src
* go to http://localhost:5000 to view the graph ** go to http://localhost:5000 to view the graph