vaibhavrastogi1988 / python-browser-console

Get an interactive python console to a live, running app easily

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-browser-console

Get an interactive python console to a live, running app easily.

Installation

After cloning the repo, you will need to do the following to run the application:

$ sudo apt-get update
$ sudo apt-get install python-virtualenv nodejs
$ virtualenv env
$ source env/bin/activate
$ pip install -i requirements.txt
$ sudo npm install -g browserify
$ npm install
$ browserify -t reactify -o static/app.js js/*.js
$ python server.py

Then go to http://localhost:5000/

Whenever changes are made to the source javascript, you will need to re-run browserify -t reactify -o static/app.js js/*.js and reload your web page.

Preview

Here's a screenshot of the end result:

Screenshot

About

Get an interactive python console to a live, running app easily

License:MIT License


Languages

Language:JavaScript 48.9%Language:Python 44.1%Language:HTML 7.0%