Skip to content

ECSHackWeek/flask-altair-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Installation

Clone the repository

git clone https://github.com/ECSHackWeek/flask-altair-react-example
cd flask-altair-react-example

Install node/npm: https://nodejs.org/en/download/

Use npm to install frontend dependencies:

cd example/static
npm install

Install backend dependencies:

conda create -n example python=3.7
conda activate example
conda install flask

Running example

In one terminal window start webpack:

npm run watch

In a second terminal window go into the flask-altair-react-example directory, start flask server:

conda activate example
cd example
python application.py

In a web browser, go to the address

http://0.0.0.0:5000/

In the case where this address does not work, go to the address

localhost:5000

About

A MWE of a flask/react/altair application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •