code do it yourself
play

<code/> Do It Yourself! Contributing Code Back to Canvas But - PowerPoint PPT Presentation

<code/> Do It Yourself! Contributing Code Back to Canvas But why? Turnaround Maintainability Everyone Benefits Getting Started The Canvas Community Freenode Google Groups Discussion #canvas-lms canvas-lms-users Forums


  1. <code/> Do It Yourself! Contributing Code Back to Canvas

  2. But why?

  3. Turnaround

  4. Maintainability

  5. Everyone Benefits

  6. Getting Started

  7. The Canvas Community Freenode Google Groups Discussion #canvas-lms canvas-lms-users Forums

  8. Prerequisites

  9. Familiar with Ruby on Rails

  10. Familiar with Git (and GitHub)

  11. Able to run Canvas locally

  12. Sign their Contributor License Agreement

  13. Setting up Your Environment

  14. https://github.com/instructure/canvas-lms/wiki/Quick-Start

  15. gotta get +

  16. Fork, then Clone git clone instructure/ your-fork/ canvas-lms canvas-lms

  17. Install Dependencies • Ruby 1.9.3 — use RVM or rbenv • Other Canvas dependencies

  18. Prepare Canvas • Set up configuration files from samples • Initialize databases • Run tests

  19. > script/server

  20. http://localhost:3000

  21. Writing Your Code

  22. master feature / bug fix branch

  23. https://github.com/instructure/canvas-lms/wiki/ Coding-Guidelines

  24. Test Your Code

  25. Ask Questions

  26. Submitting Your Code

  27. Tidy Up 5001eb Implement awesome feature 9a278a Write tests b2d9b2 Fix typo “awsome” fa50ea Add big green button ba0786 More pandas 1fad4e One more thing...

  28. Tidy Up 1985aa Implement awesome feature

  29. Write a Commit Message Implement awesome feature ! Test plan: ! - As a teacher, select any active course - Ensure that the course page looks normal - As a hero, select the same course - Click on the big green button - Experience a 215% increase in pure awesomeness

  30. Send Pull Request git push instructure/ your-fork/ canvas-lms canvas-lms

  31. Tips

  32. conquer universe hello world

  33. LTI · API · separate service?

  34. Internationalization

  35. Make UI Accessible

  36. Examples

  37. Basic File Uploader Bug

  38. Alerts Bug

  39. authorized_action(@context, @current_user, :manage_alerts)

  40. authorized_action(@context, @current_user, :manage_alerts) :manage_alerts

  41. authorized_action(@context, @current_user, :manage_alerts) :manage_alerts :manage_interaction_alerts

  42. Enrollment Terms in Course Autocomplete

  43. Names in Users CSV Import

  44. user_id, login_id, first_name, last_name, status 13834, jdoe03, John, Doe, active

  45. user_id, login_id, first_name, last_name, status 13834, jdoe03, John, Doe, active ! user_id, login_id, first_name, last_name, short_name, active 13834, jdoe03, John, Doe, “Johnny D”, active

  46. Thank You! andrewleung@sfu.ca va7map

Recommend


More recommend