diff --git a/HiCode/.gitignore b/HiCode/.gitignore new file mode 100644 index 0000000..0d20b64 --- /dev/null +++ b/HiCode/.gitignore @@ -0,0 +1 @@ +*.pyc diff --git a/HiCode/README.md b/HiCode/README.md new file mode 100644 index 0000000..981344f --- /dev/null +++ b/HiCode/README.md @@ -0,0 +1,35 @@ +Bubble sort +------------ + +HOW TO RUN +----------- +Install virtual environment + +$sudo pip install virtualenv + +Create your virtual environment + +$ virtualenv venv + +New python executable in venv/bin/python + +Installing distribute............done. + +$ source venv/bin/activate + +(venv) $ python algo.py +* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) + + +There is some work is remaining in this visualization.we will iupdate it soon. :) + + +Team Hicode: +------------- +* Neha Yadav (inehayadav28@gmail.com) + + Github: https://github.com/iamneha + +* Rakhi Sharma (rakhish1994@gmail.com) + + Github: https://github.com/rakhisharma diff --git a/HiCode/algo.py b/HiCode/algo.py new file mode 100644 index 0000000..0829d63 --- /dev/null +++ b/HiCode/algo.py @@ -0,0 +1,12 @@ +from flask import Flask +from flask import render_template + +app = Flask(__name__) + +@app.route('/') +@app.route('/index') +def index(): + return render_template("index.html") + +if __name__ == '__main__': + app.run() diff --git a/HiCode/static/css/index.css b/HiCode/static/css/index.css new file mode 100644 index 0000000..1ce9339 --- /dev/null +++ b/HiCode/static/css/index.css @@ -0,0 +1,24 @@ +.bar { + fill: steelblue; +} + +.bar:hover { + fill: brown; +} + +.axis { + font: 10px sans-serif; +} + +.axis path, +.axis line { + fill: none; + stroke: #000; + shape-rendering: crispEdges; +} + +.x.axis path { + display: none; +} + + diff --git a/HiCode/templates/index.html b/HiCode/templates/index.html new file mode 100644 index 0000000..b4d3464 --- /dev/null +++ b/HiCode/templates/index.html @@ -0,0 +1,71 @@ + + + + + + + + +