Setting up source control

At this point, it's a good idea to add our code to a hosted source control. This serves two purposes: the first is that it gives us a record of incremental changes made to each code file, and also acts as an off-site backup in case our development machine gets damaged or has a hard drive failure.

We'll be using Git (http://git-scm.com) as our Source Control Management (SCM) tool. If you don't have Git installed on your system, please follow the relevant installation instructions on the site. Additionally, we're going to use GitHub (http://github.com) as our off-site backup. There are other popular alternatives such as Bitbucket (http://bitbucket.org) or Unfuddle (http://unfuddle.com) that work just as well.

The workflow ...

Get Shopify Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.