flexlee / flask-react-bootstrap

Flask + ZeroMQ + ReactJS + Webpack + Bootstrap + Socket.IO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask + ZeroMQ + ReactJS + Webpack + Bootstrap + Socket.IO

Buzzwords...

screenshot.png

But this is the truth: By cloning this repo and following the instructions you might get a working flask app that can ping arbitrary domains when the client asks for it.

The client is a webpack-powered, ReactJS app styled by bootstrap.

Get it running in less than 300 seconds

step 1/5: install python dependencies

please be tidy, do this in a virtualenv

mkvirtualenv flask-react
pip install -r requirements.txt

step 2/5: install npm dependencies

and enure that the executables are visible in the PATH

npm install
export PATH=`pwd`/node_modules/bin:$PATH

step 3/5: compile assets with webpack

webpack will turn the

make static

step 4/5: run the app

this will also serve the static files

make run

step 5/5: run the zmq workers

make workers

Open source projects used

About

Flask + ZeroMQ + ReactJS + Webpack + Bootstrap + Socket.IO


Languages

Language:JavaScript 99.3%Language:Python 0.7%Language:HTML 0.0%Language:CSS 0.0%Language:Makefile 0.0%