Changes

Jump to: navigation, search

BuildAPI

1,021 bytes added, 10:56, 17 December 2010
no edit summary
== Project Contributor(s) ==
* [[User:Armenzg|Armenzg]]
* Google Groups - Pylon-Discuss [http://groups.google.com/group/pylons-discuss]
* IRC: aki, cthomas
* [[User:ctyler|Chris Tyler]]
 
== Project Details ==
** We will also be working on the documentation
''Updated by Andrew Singh'' == Resources ==* Pylons-Discuss Group http://groups.google.com/group/pylons-discuss * Mozilla Software Engineering group (see BuildAPI wiki)* Channels such as #build, #pylons and #seneca or irc.mozilla.org and irc.freenode.net
== Project Plan ==
 
Goals for each release:
* 0.1
** Complete a local installation of Python, Pylons, MySQL (with databases snapshots loaded) and google virtualization
** Set up BuildAPI and be able to run the Paste server to use the pre-existing BuildAPI controllers
** Create my '''own''' script that can generate a simple graph controller, models or views to be able to pull information from a database** '''0.11''' - Complete above script to generate a simple graph. At the moment I am able to pull information from the database. Further milestones to follow before 0.2.test and understand Pylons concepts
* 0.2
** To be updated shortlyPull information from the database and display it on a webpage USING the MVC model and integrating with the provided query.py script** Would like to generate a simple graph from the information that is pulled from the database** Note: Still need to understand how JSON and Java is being used with the existing scripts. For now I am comfortable with the MVC model and can apply it practically, for the most part.
* 0.3
** Be able Full documentation provided on how to generate graphs, charts set up BuildAPI: http://asdesigned.ca/sbr/BuildAPI-How-To-Setup.pdf** Reflections on project and CSVs from one of the databases based course posted on CPU load and infrastructure loadblog [http://andrewasdesigned.blogspot.com/]** Placed the data into JSON output
''Updated by Andrew Singh''
== What Needs Components to be Learned Learn/Get an idea of ==
* Pylons Framework
* BuildAPI database structure* Read chapters from The Definitive Guide to Pylons book* How to integrate GoogleAPI or another charting system and JSON output with Pylons* Python* MVC (Model, View, Controller) Model
''Updated by Andrew Singh''
== Accomplishments ==
* Created my own "project" using a controller, model and template.
** The model uses the existing query.py file but I added my own queries.
** The controller is called project.py, imports my queries from the query.py file and renders the template project.mako with the query results
** I have removed the json because I do not fully understand it and I am taking it step by step
* BuildAPI set up on http://iraq.proximity.on.ca:5000
* Python, Mysql-Python, Google Visualizations API, BuildAPI installed locally on a virtual machine on my laptop
* Databases installed from sql dump file
* Created my own test script using a controller to display information from a selected table in the schedulerdb database
''Updated by Andrew Singh''
== Issues ==
* '''Update: Resolved all below issues'''** I tried to install the same on our Seneca CDOT server: iraq.proximity.on.ca so that I could work off of the server but I ran into errors** Tried regular installation as well as using a python virtual environment* Will seek help* '''I would also like to set up Pylons to be accessible Serving content on iraq.proximity.on.ca, which I understand can be done through several methods such as through http_proxy (Apache web server) - thus will also check with Chris Tyler and other regarding this'''
''Updated by Andrew Singh''
== Project News ==
* Completed Documentation for setting up BuildAPI
** See Blog Post or here
* November 18th, 2010
** Updated some information on the page
** Made substantial progress learning Pylons and MVC framework
 
* October 28th, 2010
* What has been done so far
** Please see my blog at: http://andrewasdesigned.blogspot.com/2010/10/beginning-previously-we-had-conference.html
** We will separate into two groups and tackle Mozharness, BuildAPI or Release Simple Bugs
''Updated by Andrew Singh''
== Links ==
* Andrew Singh: http://andrewasdesigned.blogspot.com/
* Jing Yang: http://jyang42.blogspot.com/
* Armen Zambrano Gasparnian: http://armenzg.blogspot.com/
* Planet CDOT: http://zenit.senecac.on.ca/wiki/index.php/Planet_CDOT
* BuildBot Architecture: http://buildbot.net/buildbot/docs/0.8.1/images/overview.png
* Database Snapshots: http://people.mozilla.org/~catlee/schedulerdbschema.png and http://people.mozilla.org/~catlee/schema.png
 
 
''Updated by Andrew Singh''
1
edit

Navigation menu