Editing User:Ankeshanand/GSoC14/logs

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 186: Line 186:
 
* '''26th July (Saturday):''' Worked on deploying the app to production. Read lots of documentation and articles on this to understand every bits and pieces. Set up Post Receive hooks in the remote repository so that it is synced with Git. Created a makefile for easy installation of dependencies and carry out other deployment related tasks. Will contact admins from the IRC channel tomorrow to set up the apache mod_wsgi configurations and get everything running.
 
* '''26th July (Saturday):''' Worked on deploying the app to production. Read lots of documentation and articles on this to understand every bits and pieces. Set up Post Receive hooks in the remote repository so that it is synced with Git. Created a makefile for easy installation of dependencies and carry out other deployment related tasks. Will contact admins from the IRC channel tomorrow to set up the apache mod_wsgi configurations and get everything running.
  
* '''27th July (Sunday):''' Did a bunch of changes to get the production and development environment in proper setup and running. New installation instructions are now in place. Today's commits can be accessed here: https://github.com/BRL-CAD/benchmark/commits/master.
+
* '''27th July (Sunday):''' Did a bunch of changes to get the production and development environment in proper setup and running. New installation instructions are now in place. Today's commits can be accessed here: https://github.com/BRL-CAD/benchmark/commits/master
 
 
====Week 11====
 
 
 
* '''29th July (Tuesday):''' Completed the Web API for file uploads. Now, files can be uploaded from the command line via a POST request such as:
 
: '' curl -F "slug=test" -F "file=@run-10644-benchmark.log" http://localhost:8200/upload/api/v1/picture/ ''
 
 
 
* '''30th July (Wednesday):''' In some cases the files uploaded via the Web api were being partially uploaded. Added a deserializer method to take care about of that. Also refractored the api code.
 
 
 
* '''31st July (Thursday):''' Refactored some of the code, and did some mockups of Live feed for the benchmark home page.
 
 
 
* '''1st August (Friday):''' Looked into automatic uploading of logs from the benchmark script. I am able to make file uploads from the script, but need to find a way to make it fault tolerant. I tried a few suggestions mentioned on SO but they were not completely solving the issue. Will dig into this further.
 
 
 
* '''3rd August (Sunday):''' Checking off things from the TODO. Made the social media sharing icons work. Fixed some of the broken links in the navbar. Started working on the home page and file archiving, had a few doubts regarding them, so sent a mail to the mailing list.
 
 
 
====Week 12====
 
 
 
* '''4th August (Monday):''' Started work on the homepage created a few mockups and continued code-refactoring. Awaiting response from the mailing list about my questions.
 
 
 
* '''5th August (Tuesday):''' Found the solution to the file archiving issue. The recommended way is to organize files in yy/mm/dd directories so that they are searchable by date and less number of files in a directory would also significantly improve performance. Started implementing the home page mockup, refactored some code in the results page.
 
 
 
* '''6th August (Wednesday):''' After experimenting with different designs, settled down on the landing page. I have implemented the mockup, below is a screenshot.
 
:[[File:BenchmarkHome.png|700px]]
 
 
 
* '''7th August (Thursday):''' Pushed the site to deployment after enabling the site in apache, it is now live again at http://202.164.53.122/benchmark/. Tested the site across multiple platforms, resolved most of the UI fixes. There is a top margin issue that's left to be resolved. Will work on the file archiving issue tomorrow.
 
 
 
* '''8th August (Friday):''' Implemented file-archiving, the files are now segmented across separate directories for each month. This ensures they are easily searchable and also significantly improves the speed of the app.
 
 
 
==== Week 13 ====
 
* '''11th August (Monday):''' Wrote the structure for application feed. The feed would list out all the recently uploaded log files with links to results page for each. I have to plug in the ORM statements to make it working.
 
 
 
* '''12th August (Tuesday):''' Modified the production setup to use virtualenvs as this was causing the other projects to come down. This included a different make configuration and changes to the WSGI file. The setup was also moved from /var/www to /home/benchmark/deployment. The aliases were configured accordingly
 
 
 
* '''13th August (Wednesday):''' Wrote a view that lists out the most recently uploaded logs by listening to the database for newly uploaded logs. This can be merged with the homepage later.
 
 
 
* '''14th August (Thursday):''' Worked on the script to extract logs submitted via email. Leveraging some part of the work that was done by Suryajith. The IMAP library has limited support now but the script works, tried to port this into the new library by GMail.
 
 
 
* '''15th August (Friday):''' Completed the port of the script to extract email logs. Improved parser scripts to remove hardcoded variables, and use project settings instead.
 
 
 
* '''16th August (Saturday):''' Improved inline documentation in the results and fileupload module. Resolved the issue of navbar responsiveness on iPad. Few other UI tweaks along the way.
 
 
 
* '''18th August (Monday):''' My lab had a visit from Prof. Khosla, the Chancellor of UCSD. I was busy preparing a presentation regarding the same and then giving a talk on the current ongoing research in the lab.
 
 
 
* '''19th August (Tuesday):''' Wrapped up everything and submitted the final evaluation. The whole experience was great and I can definitely say GSoC was one of the best things I have ever done. Thanks to Prof. Rai and Sean for being so helpful along the way.
 

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)