and again
This commit is contained in:
parent
69b4f6aa8a
commit
193f29de4d
19
README.org
19
README.org
@ -1,42 +1,43 @@
|
||||
* clone the repository
|
||||
* 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
|
||||
** cd into the repository
|
||||
#+begin_src sh :results output
|
||||
cd policymap
|
||||
#+end_src
|
||||
|
||||
* create a virtual environment for python
|
||||
** create a virtual environment for python
|
||||
#+begin_src sh :results output
|
||||
python -m venv venv
|
||||
#+end_src
|
||||
|
||||
* activate the environment
|
||||
** activate the environment
|
||||
#+begin_src sh :results output
|
||||
source venv/bin/activate
|
||||
#+end_src
|
||||
|
||||
* update pip
|
||||
** update pip
|
||||
#+begin_src sh :results output
|
||||
pip install upgrade pip
|
||||
#+end_src
|
||||
|
||||
* install requirements
|
||||
** install requirements
|
||||
#+begin_src sh :results output
|
||||
pip install -r requirements.txt
|
||||
#+end_src
|
||||
|
||||
* cd into the renderer
|
||||
** cd into the renderer
|
||||
#+begin_src sh :results output
|
||||
cd render
|
||||
#+end_src
|
||||
|
||||
* start the renderer
|
||||
** start the renderer
|
||||
#+begin_src sh :results output
|
||||
python app.py
|
||||
#+end_src
|
||||
|
||||
* go to http://localhost:5000 to view the graph
|
||||
** go to http://localhost:5000 to view the graph
|
||||
|
Loading…
Reference in New Issue
Block a user