Dashboards for tracking Release Statuses of Mozillian Awesomeness.
Change logs, progress updates and latest developments on this spreadsheet
- Environment development stored in
/application/config/database.php
- Environment production stored in
/application/config/production/database.php
- Actual file is gitignored to protect your private credentials
- Template is saved as
/application/config/production/database_template.php
- Use inline variables when deployed as Stackato application with a binded MySQL service
- Clone the repository onto your local machine
- Setup production database credentials as specified above
- Open
/stackato.yml
and modify the following:name
Sub-domain where the dashboard will be accessed- The rest of the configs have already been setup for you
$ cd
into the root directory of the cloned repository using Terminal- Assuming that stackato is already installed, execute
$ stackato push
- The web application is now live on the internet
- Application's database (MySQL service) is set up but still empty
- Populate the database with data in
/assets/sql/dataset.sql
by:- Tunnel into the MySQL service via Stackato
- OR Deploy phpMyAdmin for Stackato (recommended)
- In future, update the code base by using Terminal:
$ cd
into the dashboard's repository on your local machine- Run the command for
$ stackato update [dashboard's appname]
- Clone this repository onto your local machine
- Open
/stackato.yml
and modify the following:name
Sub-domain where phpMyAdmin will be accessedservices
Remove MySQL from being created (not needed)PMA_USERNAME
Login credentials for accessing phpMyAdminPMA_PASSWORD
Login credentials for accessing phpMyAdmin
$ cd
into the root directory of the cloned repository using Terminal- Assuming that stackato is already installed, execute
$ stackato push
- phpMyAdmin is now live on the internet
- However, it is still not binded to the application's database. To do this:
- Identify the MySQL service that was created with the dashboard application
- Run the command for
$ stackato bind-service <servicename> [phpMyAdmin's appname]
- Logging into phpMyAdmin should now display all the schema and data used by the dashboard
- However, it is still not binded to the application's database. To do this:
- Standard Web Stack: Apache, MySQL, PHP 5.3 and above
- For deployment on local machine, try LAMP, MAMP or WAMP
- Accessed through "/" or "/overview"
- Provides an overview of all active versions
- Executes from:
/application/controllers/overview.php/index
- More details...
- Accessed through "/for/[product]/[version]"
- Provides a detailed view of a specific version
- Executes from:
/application/controllers/watch.php/single
- More details about groups of queries...
- More details about group rules...
- Accessed through "/admin"
- Allows a whitelisted user to sign in using Persona
- Executes from:
/application/controllers/admin.php/index
- Accessed through "/admin/easy_qb"
- Translates Bugzilla URLs into Qb queries
- Executes from:
/application/controllers/admin.php/easy_qb
- More details...
- Accessed through "/admin/help" or "/help"
- Read-able manual to help with getting started
- Executes from:
/application/controllers/admin.php/help
- Accessed through "/admin/update_components"
- Grabs product components from Bugzilla and updates database
- Executes from:
/application/controllers/admin.php/update_components
- Accessed through "/admin/update_cycle"
- Checks for new cycle and updates accordingly
- Automatically called when a current cycle is not found
- Executes from:
/application/controllers/admin.php/update_cycle
- More details...
- Accessed and run through "/test"
- Currently testing CRUD for
version
model and helper functions - Needs unit tests for other models as well as functions derived from base CRUD
- Creates a test version on each run, uses it then deletes it immediately at the end
Reach out to Willie Cheong for undocumented problems.
- CodeIgniter: Server side PHP framework
- CI Blades: Laravel style blade templating on CodeIgniter
- CI RestServer: Support for REST APIs on CodeIgniter
- Qb: Qb queries on Bugzilla's ElasticSearch clusters
- Persona: Email authentication service
- D3-Rickshaw: Javascript-based graphing tool
- Twitter Bootstrap: Beautiful user interfaces
- Spectrum: Beautiful colourpicker widget
- Font Awesome: Beautiful HTML icons
- Gridster: Beautiful grid boxes