From 47eb194c11afd38f6b8c64416b8c9f17cd5d8673 Mon Sep 17 00:00:00 2001 From: Pedro Godoy Date: Sun, 30 May 2021 21:13:31 -0300 Subject: [PATCH 1/3] Create requirements.txt --- requirements.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..aed7517 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,19 @@ +altair==4.1.0 +attrs==21.2.0 +click==8.0.1 +colorama==0.4.4 +entrypoints==0.3 +Flask==2.0.1 +itsdangerous==2.0.1 +Jinja2==3.0.1 +jsonschema==3.2.0 +MarkupSafe==2.0.1 +numpy==1.20.3 +pandas==1.2.4 +pyrsistent==0.17.3 +python-dateutil==2.8.1 +pytz==2021.1 +six==1.16.0 +toolz==0.11.1 +vega-datasets==0.9.0 +Werkzeug==2.0.1 From 3b2076ee0205c7d9e305192d9c03616114245985 Mon Sep 17 00:00:00 2001 From: Pedro Godoy Date: Sun, 30 May 2021 21:14:06 -0300 Subject: [PATCH 2/3] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 1d94cdc..1e73a02 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,14 @@ Inspired by the [Flasked-Vincent](https://github.com/iiSeymour/flasked-vincent) ## Running + ``` $ git clone https://github.com/lemoncyb/flasked-altair.git $ cd flasked-altair +$ python -m venv env +$ (windows) .\env\scripts\activate +$ (Unix based) source env/bin/activate +$ pip install -r requirements.txt $ python ./app.py ``` Visit http://localhost:5000 in your browser, that's it! From b1c81527e98fb405694a4e5fe778043518e7eb46 Mon Sep 17 00:00:00 2001 From: Pedro Godoy Date: Sun, 30 May 2021 21:14:51 -0300 Subject: [PATCH 3/3] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8d35cb3..1b726da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +env __pycache__ *.pyc