Who else would you want to delivery your theme files to Shopify?
Dougie — A Shopify Workflow Gem
Dougie makes it easier for developers and designers to develop themes and deploy stores on Shopify.
Benefits
- Manage multiple shops and themes
- Easily switch between multiple themes/stores
- Only sync updated theme files
Features
- Sync local theme files with live Shopify stores using the Shopify Theme gem
- Deploy your theme to multiple stores
Planned Features
- Copy products, collections, pages, blogs and articles between Shopify stores
Installation
gem install dougie
The Bodega Workflow
-
cdinto your theme folder - Run
$ dougie bootstrap - Add your store API keys to the
_stores.ymlfile - Replace your development store with your theme by running:
$ dougie replace_theme - Watch and sync your theme folder by running:
$ dougie watch - Edit your theme files
- Sync updates with production by running:
$ dougie sync_theme production
Getting API keys
- Login to the Admin of your store
- Go to
Apps - Click on
Private Apps - Click
Create private app - Give the app a name, like
Dougie - Copy and paste the
API KeyandPasswordinto the_stores.ymlfile in your theme folder underdevelopmentand update the store URL - Repeat for a production store
Building Locally
- Clone it
- Run
bundle - Run
rake install
Publishing
- Update the version number in
lib/dougie/version.rb - Run
gem build dougie.gemspec - Run
gem push dougie-0.0.X.gem
Contributing
- Fork it ( https://github.com/xxix/dougie/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request