First Commit
A small prototype that allow users to
1) upload a python script to server
2) execute the python script
3) see the output of the python script
Bug Fix

1)Code area problem: unable to display after executing code
  fix: put a hidden_field_tag() inside form_tag('Execute')

2) Put the css files into stylesheets folder to make CSS work!

3) Put the js files into javascripts folder
fix root page
login beta, whitelist is not working yet
Redesigns and fixes

1) Redesign main page to include collapsible group items

2) Fix route to bootstrap glyphicons in boostrap.css

@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../fonts/glyphicons-halflings-regular.eot');
  ...........
}

to

@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('/assets/glyphicons-halflings-regular.eot');
  ...........
}

Javascript for toggleCollapse not working yet.
Redesign login page
Redesign create user page, fix some routing between pages
fix toggleChevron
Add line number to textbox using codemirror javascript
Put a top NavBar and fix collapsible group item
ivle api login tentatively working, more work would be done later
fix the arrow font button by editing the application.css
Migration from sqlite3 to mysql2
Added model 'Code' and controller 'Codes' to handle storing,editing,deleting a code entry in database

rails generate model Code
rails generate controller Codes

Model Code
t.string :filename
t.text :description
t.binary :file
t.boolean :shareable
t.boolean :editable
fix minor bug
1. registration successfully notice is working now
2. password confirmation field is fixed
Modification to users,codes tables and rewrite part of codes_controller

Add column ivle to users
Add column user_id to codes
Link a user to the new code entry in codes_controller
ivle is working now, need further test to confirm
Added model Codecomment and controller Codecomments to allow commenting on codes by other users

rails generate model Codecomment
rails generate controller Codecomments

Model Codecomment
t.integer :code_id
t.string :username
t.text :content

code.rb
has_many :codecomments

codecomment.rb
belongs_to :code
minor fix: comments date added, comments is fixed
Add controller 'Platform' to handle the platform tab

rails generate controller Platform

Now the user select file from the dropdown menu in platform tab,
the 'platform#run' will retrieve the respective binary from database and
write to a temp file and 'run!' the code and display the output.