minor update and fix
1. fix the css js path, the correct one should be /assets/bootstrap.css
2. remove all repeated code such as <html><body> in all codes, as the layout already consists it. All the rest of view is embedded in application.html.erb
3. fix the database.yml, the development is for local database, the production is adjust for openshift
4. add if File.file?(codePath) on File.delete(codePath). It will only delete if File exists is checked first.