$30 off During Our Annual Pro Sale. View Details »

Development Workflow

Development Workflow

Git, GitHub, Automated tests, Continuous integration

Haralan Dobrev

May 31, 2014
Tweet

More Decks by Haralan Dobrev

Other Decks in Technology

Transcript

  1. Development Workflow
    @hkdobrev
    Bulgaria Web Summit 2014

    View Slide

  2. Haralan Dobrev
    ● @hkdobrev, hkdobrev.com
    ● despark.com, clippings.com
    ● Open-source Enthusiast

    View Slide

  3. ● Simple tools for simple tasks
    ● Automate everything
    ● Find the bottlenecks
    ● Don't settle
    Best Practices

    View Slide

  4. Tools
    ● Git
    ● GitHub
    ● Automated Tests
    ● Continuous Integration

    View Slide

  5. Git
    ● Not just backup
    ● History - "Why" instead of "what".
    ● Experiment easy and often
    ● Distributed, asynchronous development

    View Slide

  6. View Slide

  7. View Slide

  8. GitHub
    ● Communication
    ● Open-source
    ● Pull requests
    ● GitHub Flow

    View Slide

  9. View Slide

  10. GitHub Flow™
    1. New branches from master
    2. Open a pull request
    3. Review/Discuss
    4. Merge
    5. Rinse and repeat

    View Slide

  11. GitHub Flow™

    View Slide

  12. Automated Tests
    ● "I've tested it so it's working"
    ● It's not done until it's tested
    ● Tests should be easy to write
    ● Tests should be easy to run

    View Slide

  13. View Slide

  14. View Slide

  15. CI = Continuous Integration
    ● Release early, release often
    ● Automate the build
    ● Keep it green
    ● Travis CI + GitHub

    View Slide

  16. Travic CI
    ● Travis loves open-source
    ● Easy to configure
    ● GitHub integration
    ● More integrations, deployments, notifications

    View Slide

  17. View Slide

  18. View Slide

  19. Questions?
    speakerdeck.com/hkdobrev

    View Slide

  20. Thank you
    speakerdeck.com/hkdobrev

    View Slide