dougie 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +24 -11
- data/dougie.gemspec +1 -1
- data/lib/dougie/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 81a18966bc70937b8038774a0284f849c8a2e31a
|
|
4
|
+
data.tar.gz: 9889130c78751b0639744e2c23f39a7635a05a19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2de9d1f35e1d2d9866124551e9e7e11bbafd7ba46f9e8830a4b0f20b19630e0da66e7e162d44d353ea2e1c9c2eebd66d0eeb40bc3303db573013d74ed60de302
|
|
7
|
+
data.tar.gz: 88ee4e06f7c44835266be25dcaaa501868f0bd11a6727ed34f866dc9de05e732c818311c7c1975ccfe5ff1cc2c4849fc02099a06d2be6bb4ebb08d6c8fea8190
|
data/README.md
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
Who else would you want to delivery your theme files to Shopify?
|
|
4
|
+
|
|
1
5
|
# Dougie — A Shopify Workflow Gem
|
|
2
6
|
|
|
3
7
|
Dougie makes it easier for developers and designers to develop themes and deploy stores on Shopify.
|
|
4
8
|
|
|
5
9
|
## Benefits
|
|
6
10
|
|
|
7
|
-
+
|
|
8
|
-
+ Automatically keep theme files in sync
|
|
9
|
-
+ Manage multiple shops and themes at once
|
|
11
|
+
+ Manage multiple shops and themes
|
|
10
12
|
+ Easily switch between multiple themes/stores
|
|
13
|
+
+ Only sync updated theme files
|
|
11
14
|
|
|
12
15
|
## Features
|
|
13
16
|
|
|
14
17
|
1. Sync local theme files with live Shopify stores using the [Shopify Theme gem](https://github.com/Shopify/shopify_theme/)
|
|
15
|
-
2. Deploy your theme to
|
|
18
|
+
2. Deploy your theme to multiple stores
|
|
16
19
|
|
|
17
20
|
## Planned Features
|
|
18
21
|
|
|
@@ -27,12 +30,22 @@ gem install dougie
|
|
|
27
30
|
## The Bodega Workflow
|
|
28
31
|
|
|
29
32
|
1. `cd` into your theme folder
|
|
30
|
-
2. Run `$
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
2. Run `$ dougie bootstrap`
|
|
34
|
+
3. Add your store API keys to the `_stores.yml` file
|
|
35
|
+
4. Replace your development store with your theme by running: `$ dougie replace_theme`
|
|
36
|
+
5. Watch and sync your theme folder by running: `$ dougie watch`
|
|
37
|
+
6. Edit your theme files
|
|
38
|
+
7. Sync updates with production by running: `$ dougie sync_theme production`
|
|
39
|
+
|
|
40
|
+
## Getting API keys
|
|
41
|
+
|
|
42
|
+
1. Login to the Admin of your store
|
|
43
|
+
2. Go to `Apps`
|
|
44
|
+
3. Click on `Private Apps`
|
|
45
|
+
4. Click `Create private app`
|
|
46
|
+
5. Give the app a name, like `Dougie`
|
|
47
|
+
6. Copy and paste the `API Key` and `Password` into the `_stores.yml` file in your theme folder under `development` and update the store URL
|
|
48
|
+
7. Repeat for a production store
|
|
36
49
|
|
|
37
50
|
## Building Locally
|
|
38
51
|
|
|
@@ -48,7 +61,7 @@ gem install dougie
|
|
|
48
61
|
|
|
49
62
|
## Contributing
|
|
50
63
|
|
|
51
|
-
1. Fork it ( https://github.com/xxix/dougie
|
|
64
|
+
1. Fork it ( https://github.com/xxix/dougie/fork )
|
|
52
65
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
53
66
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
54
67
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/dougie.gemspec
CHANGED
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
19
|
spec.require_paths = ["lib"]
|
|
20
20
|
|
|
21
|
-
spec.add_runtime_dependency "shopify_theme", '
|
|
21
|
+
spec.add_runtime_dependency "shopify_theme", '= 0.0.21'
|
|
22
22
|
spec.add_runtime_dependency "shopify_api", '~> 3.2'
|
|
23
23
|
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.7"
|
data/lib/dougie/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dougie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Dijkstra
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: shopify_theme
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.0.21
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 0.0.21
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: shopify_api
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|