Giter Site home page Giter Site logo

gabrielfalcao / flask-react-bootstrap Goto Github PK

View Code? Open in Web Editor NEW
167.0 9.0 20.0 1.01 MB

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

Makefile 0.01% Python 0.67% JavaScript 99.27% CSS 0.01% HTML 0.04%
bootstrap flask react reactjs socket-io socketio webpack zeromq

flask-react-bootstrap's Introduction

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

flask-react-bootstrap's People

Contributors

gabrielfalcao avatar jcfigueiredo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask-react-bootstrap's Issues

npm install failed

Hi,
Thank you for this great repo. I cloned the app on a Ubuntu server in a Virtualbox.
npm install failed. The Nodejs version is latest -- 4.2.4. Which nodejs version should be used?

Please see below. (docker is not used. 'docker-python' is just a name.)

(flask-react)vagrant@docker-python:/flask-react-bootstrap$ uname -a
Linux docker-python 3.13.0-65-generic #106-Ubuntu SMP Fri Oct 2 22:08:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
(flask-react)vagrant@docker-python:
/flask-react-bootstrap$ python --version
Python 2.7.6
(flask-react)vagrant@docker-python:/flask-react-bootstrap$ node -v
v4.2.4
(flask-react)vagrant@docker-python:
/flask-react-bootstrap$ npm -v
2.14.12
(flask-react)vagrant@docker-python:~/flask-react-bootstrap$ npm install
npm WARN unmet dependency /home/vagrant/flask-react-bootstrap/node_modules/less/node_modules/request/node_modules/http-signature/node_modules/sshpk requires assert-plus@'>=0.2.0 <0.3.0' but will load
npm WARN unmet dependency /home/vagrant/flask-react-bootstrap/node_modules/less/node_modules/request/node_modules/http-signature/node_modules/assert-plus,
npm WARN unmet dependency which is version 0.1.5

Regards,
YW

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.