kajabi_theme 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -1
- data/lib/kajabi_theme/cli.rb +1 -1
- data/lib/kajabi_theme/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 297bfd3941e28c37d109a91d65542563a7da23b3
|
4
|
+
data.tar.gz: 5e23358c29c47cbcd983d4680036bd564ca7764d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 179fab8ec5801530a5e1dda417fd412ae8ca967984f1012e12962bd2b399e38167a15cae25bd1583c8fc16eed2371620f0d0f7b85a9ea6ae9605165f001e8f97
|
7
|
+
data.tar.gz: 0c5036a14ac94a39d20862b97f6121affeff9421d00c9daeec521c708d3e205f02fb0907e877f94d393ce1253ff241ab80bd35325e96848873f40c5fca39f49a
|
data/README.md
CHANGED
@@ -22,7 +22,26 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
You can install the rubygem with:
|
26
|
+
`gem install kajabi_theme`
|
27
|
+
|
28
|
+
Take note of the id of the theme you want to edit by looking at the URL in the kajabi dashboard.
|
29
|
+
|
30
|
+
Then go ahead and download our starter theme, apollo:
|
31
|
+
http://docs.newkajabi.com/docs/apollo
|
32
|
+
|
33
|
+
Inside the new apollo directory run:
|
34
|
+
`kajabi-theme configure`
|
35
|
+
|
36
|
+
This should ask you for the remote theme id, your api key and secret. You will only have to set this up once per project.
|
37
|
+
|
38
|
+
Once you are set up, run:
|
39
|
+
`kajabi-theme sync`
|
40
|
+
|
41
|
+
To upload your local files to the remote theme.
|
42
|
+
|
43
|
+
Once that is done, you can simply run
|
44
|
+
`kajabi-theme watch`
|
26
45
|
|
27
46
|
## Development
|
28
47
|
|
data/lib/kajabi_theme/cli.rb
CHANGED
@@ -11,7 +11,7 @@ module KajabiTheme
|
|
11
11
|
class CLI < Thor
|
12
12
|
include Thor::Actions
|
13
13
|
|
14
|
-
FOLDERS=%w[config templates layouts snippets assets].freeze
|
14
|
+
FOLDERS=%w[config templates layouts sections snippets assets].freeze
|
15
15
|
ACCOUNT_SETTINGS_URL="https://app.newkajabi.com/admin/settings/account"
|
16
16
|
|
17
17
|
attr_reader :name
|
data/lib/kajabi_theme/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kajabi_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Saenz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -141,4 +141,3 @@ signing_key:
|
|
141
141
|
specification_version: 4
|
142
142
|
summary: Command line tool for developing themes
|
143
143
|
test_files: []
|
144
|
-
has_rdoc:
|