policymap/README.org

43 lines
780 B
Org Mode

* 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