kickster 0.1.0
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 +7 -0
- data/.gitignore +11 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/README.md +58 -0
- data/Rakefile +1 -0
- data/bin/kickster +5 -0
- data/kickster.gemspec +22 -0
- data/lib/kickster.rb +8 -0
- data/lib/kickster/generator.rb +57 -0
- data/lib/kickster/version.rb +3 -0
- data/template/.bowerrc +3 -0
- data/template/.gitignore +5 -0
- data/template/.scss-lint.yml +22 -0
- data/template/404.html +53 -0
- data/template/Gemfile +8 -0
- data/template/Gemfile.lock +109 -0
- data/template/README.md +43 -0
- data/template/_assets/fonts/.keep +0 -0
- data/template/_assets/images/.keep +0 -0
- data/template/_assets/javascripts/application.js +1 -0
- data/template/_assets/javascripts/vendor.js +1 -0
- data/template/_assets/stylesheets/application.scss +0 -0
- data/template/_config.yml +33 -0
- data/template/_data/fixtures.yml +0 -0
- data/template/_includes/.keep +0 -0
- data/template/_layouts/default.html +50 -0
- data/template/_plugins/ext.rb +1 -0
- data/template/apple-touch-icon-precomposed.png +0 -0
- data/template/bin/deploy +39 -0
- data/template/bin/setup +15 -0
- data/template/bower.json +6 -0
- data/template/favicon.ico +0 -0
- data/template/index.html +5 -0
- data/template/robots.txt +5 -0
- data/template/touch-icon-192x192.png +0 -0
- metadata +122 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 63b682c091ffbaeb1a9263deac190ead1a412678
|
4
|
+
data.tar.gz: 547f1b2c745254910a84c3577a0d78d030953e54
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 32c58864a837c4b01cf30c123202d59365fd3aa2ee37850d141bba64806725995c0a40d893f4f7b9b9f473c8bc12d2dae7bdfd5f9c079d9fdc3892ccdc565433
|
7
|
+
data.tar.gz: 3d66043894980061d5583c71da27146d7f373e0357f1f03a5f34e5a8f8508a9e3982907ae7cd7aef8736d9eb61ff25d987bcea477360ded94d58634c57162ce5
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
# kickster
|
2
|
+
|
3
|
+
Jekyll starter template with GitHub Pages deploy to kickstart your project.
|
4
|
+
|
5
|
+
### Installation
|
6
|
+
|
7
|
+
Install the gem:
|
8
|
+
|
9
|
+
gem install kickster
|
10
|
+
|
11
|
+
Execute gem and scaffold Kickster files:
|
12
|
+
|
13
|
+
kickster new site_name
|
14
|
+
|
15
|
+
Set up your environment:
|
16
|
+
|
17
|
+
bin/setup
|
18
|
+
|
19
|
+
Update `baseurl` and `assets:baseurl` in `_config.yml` with the correct path.
|
20
|
+
|
21
|
+
*If you do not want the Kickster files but just the deploy then copy `bin/setup` script to your repo and your ready to go.*
|
22
|
+
|
23
|
+
### Development
|
24
|
+
|
25
|
+
Run Jekyll
|
26
|
+
|
27
|
+
bundle exec jekyll serve --watch
|
28
|
+
|
29
|
+
Used tools:
|
30
|
+
- [Jekyll assets](http://ixti.net/jekyll-assets/)
|
31
|
+
- [Bower](http://bower.io/)
|
32
|
+
- [Jekyll](http://jekyllrb.com/)
|
33
|
+
- Influences from [HTML5 Boilerplate](https://html5boilerplate.com/)
|
34
|
+
- [Autoprefixer](https://github.com/postcss/autoprefixer)
|
35
|
+
|
36
|
+
### Deploy to GitHub Pages
|
37
|
+
|
38
|
+
Run this script and add a customized deploy message:
|
39
|
+
|
40
|
+
bin/deploy "custom_message"
|
41
|
+
|
42
|
+
### Why
|
43
|
+
|
44
|
+
Setting up GitHub Pages websites with Jekyll for projects or clients is cumbersome as you have to setup everything from scratch. Kickster helps you kickstart your project settling you with a basic starter template and easy deploy. Deploying is completed in 1 second so updating your website or prototype is a breeze.
|
45
|
+
|
46
|
+
You can find example project [here](https://github.com/nielsenramon/kickster/tree/website).
|
47
|
+
|
48
|
+
### License
|
49
|
+
|
50
|
+
MIT License
|
51
|
+
|
52
|
+
## Contributing
|
53
|
+
|
54
|
+
1. Fork it ( https://github.com/[my-github-username]/kickster/fork )
|
55
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
56
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
57
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
58
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/kickster
ADDED
data/kickster.gemspec
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
require 'kickster/version'
|
3
|
+
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.name = "kickster"
|
6
|
+
spec.version = Kickster::VERSION
|
7
|
+
spec.platform = Gem::Platform::RUBY
|
8
|
+
spec.authors = "Nielsen Ramon"
|
9
|
+
spec.summary = "Hassle-free deploying to GitHub Pages with Jekyll."
|
10
|
+
spec.description = "Jekyll starter template with GitHub Pages deploy to kickstart your project."
|
11
|
+
spec.email = "nielsenramon1@gmail.com"
|
12
|
+
spec.homepage = "http://nielsenramon.be/kickster"
|
13
|
+
spec.licenses = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files`.split("\n")
|
16
|
+
spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
|
+
spec.require_paths = ['lib']
|
18
|
+
|
19
|
+
spec.add_runtime_dependency("thor")
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.8"
|
21
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
22
|
+
end
|
data/lib/kickster.rb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
require 'kickster/version'
|
2
|
+
require "fileutils"
|
3
|
+
require 'thor'
|
4
|
+
require 'pathname'
|
5
|
+
|
6
|
+
module Kickster
|
7
|
+
class Generator < Thor
|
8
|
+
map ['-v', '--version'] => :version
|
9
|
+
|
10
|
+
desc 'new', 'Create new folder with the Kickster template'
|
11
|
+
method_options :path => :string, :force => :boolean
|
12
|
+
def new(name)
|
13
|
+
if kickster_files_already_exist?(name) && !options[:force]
|
14
|
+
puts "Folder already exist, use --force to overwrite."
|
15
|
+
else
|
16
|
+
install_files(name)
|
17
|
+
puts "Kickster template folder successfully created!"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
desc 'version', 'Show Kickster version'
|
22
|
+
def version
|
23
|
+
say "Kickster #{Kickster::VERSION}"
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
def kickster_files_already_exist?(name)
|
29
|
+
install_path(name).exist?
|
30
|
+
end
|
31
|
+
|
32
|
+
def install_path(name)
|
33
|
+
@install_path ||= if options[:path]
|
34
|
+
Pathname.new(File.join(options[:path], name))
|
35
|
+
else
|
36
|
+
Pathname.new(name)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
def install_files(name)
|
41
|
+
FileUtils.mkdir_p(install_path(name))
|
42
|
+
FileUtils.cp_r(template_files, install_path(name))
|
43
|
+
end
|
44
|
+
|
45
|
+
def template_files
|
46
|
+
Dir["#{template_directory}/."]
|
47
|
+
end
|
48
|
+
|
49
|
+
def template_directory
|
50
|
+
File.join(top_level_directory, "template")
|
51
|
+
end
|
52
|
+
|
53
|
+
def top_level_directory
|
54
|
+
File.dirname(File.dirname(File.dirname(__FILE__)))
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
data/template/.bowerrc
ADDED
data/template/.gitignore
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
exclude:
|
2
|
+
- ''
|
3
|
+
|
4
|
+
linters:
|
5
|
+
StringQuotes:
|
6
|
+
enabled: true
|
7
|
+
style: double_quotes
|
8
|
+
|
9
|
+
UrlFormat:
|
10
|
+
enabled: false
|
11
|
+
|
12
|
+
SelectorDepth:
|
13
|
+
enabled: true
|
14
|
+
max_depth: 4
|
15
|
+
|
16
|
+
PropertySortOrder:
|
17
|
+
enabled: true
|
18
|
+
order: recess
|
19
|
+
|
20
|
+
NestingDepth:
|
21
|
+
enabled: true
|
22
|
+
max_depth: 4
|
data/template/404.html
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>Page Not Found</title>
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
<style type="text/css">
|
8
|
+
* {
|
9
|
+
line-height: 1.2;
|
10
|
+
margin: 0;
|
11
|
+
}
|
12
|
+
|
13
|
+
html {
|
14
|
+
color: #888;
|
15
|
+
display: table;
|
16
|
+
font-family: sans-serif;
|
17
|
+
height: 100%;
|
18
|
+
text-align: center;
|
19
|
+
width: 100%;
|
20
|
+
}
|
21
|
+
|
22
|
+
body {
|
23
|
+
display: table-cell;
|
24
|
+
vertical-align: middle;
|
25
|
+
margin: 2em auto;
|
26
|
+
}
|
27
|
+
|
28
|
+
h1 {
|
29
|
+
color: #555;
|
30
|
+
font-size: 2em;
|
31
|
+
font-weight: 400;
|
32
|
+
}
|
33
|
+
|
34
|
+
p {
|
35
|
+
margin: 0 auto;
|
36
|
+
width: 280px;
|
37
|
+
}
|
38
|
+
|
39
|
+
@media only screen and (max-width: 280px) {
|
40
|
+
body, p { width: 95%; }
|
41
|
+
|
42
|
+
h1 {
|
43
|
+
font-size: 1.5em;
|
44
|
+
margin: 0 0 0.3em;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
<body>
|
50
|
+
<h1>Page Not Found</h1>
|
51
|
+
<p>Sorry, but the page you were trying to view does not exist.</p>
|
52
|
+
</body>
|
53
|
+
</html>
|
data/template/Gemfile
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
addressable (2.3.8)
|
5
|
+
autoprefixer-rails (5.1.11)
|
6
|
+
execjs
|
7
|
+
json
|
8
|
+
blankslate (2.1.2.4)
|
9
|
+
celluloid (0.16.0)
|
10
|
+
timers (~> 4.0.0)
|
11
|
+
classifier-reborn (2.0.3)
|
12
|
+
fast-stemmer (~> 1.0)
|
13
|
+
coffee-script (2.4.1)
|
14
|
+
coffee-script-source
|
15
|
+
execjs
|
16
|
+
coffee-script-source (1.9.1.1)
|
17
|
+
colorator (0.1)
|
18
|
+
execjs (2.5.2)
|
19
|
+
fast-stemmer (1.0.2)
|
20
|
+
fastimage (1.6.8)
|
21
|
+
addressable (~> 2.3, >= 2.3.5)
|
22
|
+
ffi (1.9.8)
|
23
|
+
hike (1.2.3)
|
24
|
+
hitimes (1.2.2)
|
25
|
+
jekyll (2.5.3)
|
26
|
+
classifier-reborn (~> 2.0)
|
27
|
+
colorator (~> 0.1)
|
28
|
+
jekyll-coffeescript (~> 1.0)
|
29
|
+
jekyll-gist (~> 1.0)
|
30
|
+
jekyll-paginate (~> 1.0)
|
31
|
+
jekyll-sass-converter (~> 1.0)
|
32
|
+
jekyll-watch (~> 1.1)
|
33
|
+
kramdown (~> 1.3)
|
34
|
+
liquid (~> 2.6.1)
|
35
|
+
mercenary (~> 0.3.3)
|
36
|
+
pygments.rb (~> 0.6.0)
|
37
|
+
redcarpet (~> 3.1)
|
38
|
+
safe_yaml (~> 1.0)
|
39
|
+
toml (~> 0.1.0)
|
40
|
+
jekyll-assets (0.14.0)
|
41
|
+
fastimage (~> 1.6)
|
42
|
+
jekyll (~> 2.0)
|
43
|
+
mini_magick (~> 4.1)
|
44
|
+
sass (~> 3.2)
|
45
|
+
sprockets (~> 2.10)
|
46
|
+
sprockets-helpers
|
47
|
+
sprockets-sass
|
48
|
+
jekyll-coffeescript (1.0.1)
|
49
|
+
coffee-script (~> 2.2)
|
50
|
+
jekyll-gist (1.2.1)
|
51
|
+
jekyll-paginate (1.1.0)
|
52
|
+
jekyll-sass-converter (1.3.0)
|
53
|
+
sass (~> 3.2)
|
54
|
+
jekyll-sitemap (0.8.1)
|
55
|
+
jekyll-watch (1.2.1)
|
56
|
+
listen (~> 2.7)
|
57
|
+
json (1.8.2)
|
58
|
+
kramdown (1.7.0)
|
59
|
+
liquid (2.6.2)
|
60
|
+
listen (2.10.0)
|
61
|
+
celluloid (~> 0.16.0)
|
62
|
+
rb-fsevent (>= 0.9.3)
|
63
|
+
rb-inotify (>= 0.9)
|
64
|
+
mercenary (0.3.5)
|
65
|
+
mini_magick (4.2.3)
|
66
|
+
multi_json (1.11.0)
|
67
|
+
parslet (1.5.0)
|
68
|
+
blankslate (~> 2.0)
|
69
|
+
posix-spawn (0.3.11)
|
70
|
+
pygments.rb (0.6.3)
|
71
|
+
posix-spawn (~> 0.3.6)
|
72
|
+
yajl-ruby (~> 1.2.0)
|
73
|
+
rack (1.6.1)
|
74
|
+
rb-fsevent (0.9.4)
|
75
|
+
rb-inotify (0.9.5)
|
76
|
+
ffi (>= 0.5.0)
|
77
|
+
redcarpet (3.2.3)
|
78
|
+
safe_yaml (1.0.4)
|
79
|
+
sass (3.4.13)
|
80
|
+
sprockets (2.12.3)
|
81
|
+
hike (~> 1.2)
|
82
|
+
multi_json (~> 1.0)
|
83
|
+
rack (~> 1.0)
|
84
|
+
tilt (~> 1.1, != 1.3.0)
|
85
|
+
sprockets-helpers (1.1.0)
|
86
|
+
sprockets (~> 2.0)
|
87
|
+
sprockets-sass (1.3.1)
|
88
|
+
sprockets (~> 2.0)
|
89
|
+
tilt (~> 1.1)
|
90
|
+
tilt (1.4.1)
|
91
|
+
timers (4.0.1)
|
92
|
+
hitimes
|
93
|
+
toml (0.1.2)
|
94
|
+
parslet (~> 1.5.0)
|
95
|
+
uglifier (2.7.1)
|
96
|
+
execjs (>= 0.3.0)
|
97
|
+
json (>= 1.8.0)
|
98
|
+
yajl-ruby (1.2.1)
|
99
|
+
|
100
|
+
PLATFORMS
|
101
|
+
ruby
|
102
|
+
|
103
|
+
DEPENDENCIES
|
104
|
+
autoprefixer-rails
|
105
|
+
jekyll
|
106
|
+
jekyll-assets
|
107
|
+
jekyll-sitemap
|
108
|
+
sass
|
109
|
+
uglifier
|
data/template/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
kickster
|
2
|
+
========
|
3
|
+
|
4
|
+
Jekyll starter template with GitHub Pages deploy to kickstart your project.
|
5
|
+
|
6
|
+
### Installation
|
7
|
+
|
8
|
+
Set up your environment
|
9
|
+
|
10
|
+
bin/setup
|
11
|
+
|
12
|
+
Update `baseurl` and `assets:baseurl` in `_config.yml` with the correct path.
|
13
|
+
|
14
|
+
*If you do not want the Kickster files but just the deploy then copy `bin/setup` script to your repo and your ready to go.*
|
15
|
+
|
16
|
+
### Development
|
17
|
+
|
18
|
+
Run Jekyll
|
19
|
+
|
20
|
+
bundle exec jekyll serve --watch
|
21
|
+
|
22
|
+
Used tools:
|
23
|
+
- [Jekyll assets](http://ixti.net/jekyll-assets/)
|
24
|
+
- [Bower](http://bower.io/)
|
25
|
+
- [Jekyll](http://jekyllrb.com/)
|
26
|
+
- Influences from [HTML5 Boilerplate](https://html5boilerplate.com/)
|
27
|
+
- [Autoprefixer](https://github.com/postcss/autoprefixer)
|
28
|
+
|
29
|
+
### Deploy to GitHub Pages
|
30
|
+
|
31
|
+
Run this script and add a customized deploy message:
|
32
|
+
|
33
|
+
bin/deploy "custom_message"
|
34
|
+
|
35
|
+
### Why
|
36
|
+
|
37
|
+
Setting up GitHub Pages websites with Jekyll for projects or clients is cumbersome as you have to setup everything from scratch. Kickster helps you kickstart your project settling you with a basic starter template and easy deploy. Deploying is completed in 1 second so updating your website or prototype is a breeze.
|
38
|
+
|
39
|
+
You can find example project [here](https://github.com/nielsenramon/kickster/tree/website).
|
40
|
+
|
41
|
+
### License
|
42
|
+
|
43
|
+
MIT License
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require_self
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require jquery/dist/jquery
|
File without changes
|
@@ -0,0 +1,33 @@
|
|
1
|
+
permalink: pretty
|
2
|
+
|
3
|
+
exclude:
|
4
|
+
- .bowerrc
|
5
|
+
- .scss-lint.yml
|
6
|
+
- Gemfile
|
7
|
+
- Gemfile.lock
|
8
|
+
- README.md
|
9
|
+
- bower.json
|
10
|
+
- bin/*
|
11
|
+
|
12
|
+
assets:
|
13
|
+
dirname: assets
|
14
|
+
baseurl: /assets/
|
15
|
+
|
16
|
+
sources:
|
17
|
+
- _assets/fonts
|
18
|
+
- _assets/images
|
19
|
+
- _assets/javascripts
|
20
|
+
- _assets/stylesheets
|
21
|
+
- _vendor/
|
22
|
+
|
23
|
+
js_compressor: uglifier
|
24
|
+
css_compressor: sass
|
25
|
+
gzip: false
|
26
|
+
debug: true
|
27
|
+
|
28
|
+
baseurl: /
|
29
|
+
|
30
|
+
gems:
|
31
|
+
- jekyll-sitemap
|
32
|
+
|
33
|
+
ga_analytics: UA-XXXXXXXX-X
|
File without changes
|
File without changes
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
6
|
+
|
7
|
+
<title>{{ page.title }}</title>
|
8
|
+
|
9
|
+
<meta name="description" content="{{ page.description }}">
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
11
|
+
<meta name="author" content="">
|
12
|
+
|
13
|
+
<meta property="og:title" content="{{ page.title }}">
|
14
|
+
<meta property="og:url" content="{{ site.baseurl }}">
|
15
|
+
<meta property="og:description" content="{{ page.description }}">
|
16
|
+
<meta property="og:site_name" content="">
|
17
|
+
<meta property="og:image" content="{{ site.assets.baseurl }}">
|
18
|
+
|
19
|
+
<meta name="twitter:card" content="summary">
|
20
|
+
<meta name="twitter:url" content="{{ site.baseurl }}">
|
21
|
+
<meta name="twitter:title" content="{{ page.title }}">
|
22
|
+
<meta name="twitter:description" content="{{ page.description }}">
|
23
|
+
<meta name="twitter:image" content="{{ site.assets.baseurl }}">
|
24
|
+
|
25
|
+
{% stylesheet application %}
|
26
|
+
</head>
|
27
|
+
<body>
|
28
|
+
<!--[if lt IE 8]>
|
29
|
+
<p class="browserupgrade">You are using an <strong>outdated</strong>
|
30
|
+
browser. Please <a href="http://browsehappy.com/">upgrade your browser</a>
|
31
|
+
to improve your experience.</p>
|
32
|
+
<![endif]-->
|
33
|
+
|
34
|
+
<main role="main">
|
35
|
+
{{ content }}
|
36
|
+
</main>
|
37
|
+
|
38
|
+
{% javascript vendor %}
|
39
|
+
{% javascript application %}
|
40
|
+
|
41
|
+
<script>
|
42
|
+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
|
43
|
+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
|
44
|
+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
|
45
|
+
e.src='https://www.google-analytics.com/analytics.js';
|
46
|
+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
|
47
|
+
ga('create','{{ site.ga_analytics }}','auto');ga('send','pageview');
|
48
|
+
</script>
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
require "jekyll-assets"
|
Binary file
|
data/template/bin/deploy
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
# Run this script to deploy the app to Github Pages.
|
4
|
+
|
5
|
+
set -e
|
6
|
+
|
7
|
+
if [ -z "$1" ]
|
8
|
+
then
|
9
|
+
echo 'Usage: bin/deploy "{commit message}"'
|
10
|
+
exit 1
|
11
|
+
fi
|
12
|
+
|
13
|
+
if [ `git branch | grep gh-pages` ]
|
14
|
+
then
|
15
|
+
git branch -D gh-pages
|
16
|
+
fi
|
17
|
+
|
18
|
+
git checkout -b gh-pages
|
19
|
+
|
20
|
+
bower install
|
21
|
+
bundle exec jekyll build --destination _site
|
22
|
+
|
23
|
+
mkdir tmp
|
24
|
+
cp -a _site/ tmp
|
25
|
+
cp -a .gitignore tmp
|
26
|
+
cp -R .git tmp
|
27
|
+
|
28
|
+
find . -maxdepth 1 ! -name 'tmp' -exec rm -rf {} \;
|
29
|
+
|
30
|
+
cp -a tmp/. .
|
31
|
+
rm -Rf tmp
|
32
|
+
|
33
|
+
git add -fA
|
34
|
+
git commit -m "$1"
|
35
|
+
|
36
|
+
git push -f origin gh-pages
|
37
|
+
|
38
|
+
git checkout -
|
39
|
+
bower install
|
data/template/bin/setup
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env sh
|
2
|
+
|
3
|
+
# Set up Jekyll site. Run this script immediately after cloning the codebase.
|
4
|
+
# https://github.com/thoughtbot/guides/tree/master/protocol
|
5
|
+
|
6
|
+
# Exit if any subcommand fails
|
7
|
+
set -e
|
8
|
+
|
9
|
+
# Set up Ruby dependencies via Bundler
|
10
|
+
gem install bundler --conservative
|
11
|
+
bundle check || bundle install
|
12
|
+
|
13
|
+
# Set up JS dependencies via Bower
|
14
|
+
bower --version > /dev/null || npm install -g bower
|
15
|
+
bower install
|
data/template/bower.json
ADDED
Binary file
|
data/template/index.html
ADDED
data/template/robots.txt
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kickster
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nielsen Ramon
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-05-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.8'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.8'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description: Jekyll starter template with GitHub Pages deploy to kickstart your project.
|
56
|
+
email: nielsenramon1@gmail.com
|
57
|
+
executables:
|
58
|
+
- kickster
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".travis.yml"
|
64
|
+
- Gemfile
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- bin/kickster
|
68
|
+
- kickster.gemspec
|
69
|
+
- lib/kickster.rb
|
70
|
+
- lib/kickster/generator.rb
|
71
|
+
- lib/kickster/version.rb
|
72
|
+
- template/.bowerrc
|
73
|
+
- template/.gitignore
|
74
|
+
- template/.scss-lint.yml
|
75
|
+
- template/404.html
|
76
|
+
- template/Gemfile
|
77
|
+
- template/Gemfile.lock
|
78
|
+
- template/README.md
|
79
|
+
- template/_assets/fonts/.keep
|
80
|
+
- template/_assets/images/.keep
|
81
|
+
- template/_assets/javascripts/application.js
|
82
|
+
- template/_assets/javascripts/vendor.js
|
83
|
+
- template/_assets/stylesheets/application.scss
|
84
|
+
- template/_config.yml
|
85
|
+
- template/_data/fixtures.yml
|
86
|
+
- template/_includes/.keep
|
87
|
+
- template/_layouts/default.html
|
88
|
+
- template/_plugins/ext.rb
|
89
|
+
- template/apple-touch-icon-precomposed.png
|
90
|
+
- template/bin/deploy
|
91
|
+
- template/bin/setup
|
92
|
+
- template/bower.json
|
93
|
+
- template/favicon.ico
|
94
|
+
- template/index.html
|
95
|
+
- template/robots.txt
|
96
|
+
- template/touch-icon-192x192.png
|
97
|
+
homepage: http://nielsenramon.be/kickster
|
98
|
+
licenses:
|
99
|
+
- MIT
|
100
|
+
metadata: {}
|
101
|
+
post_install_message:
|
102
|
+
rdoc_options: []
|
103
|
+
require_paths:
|
104
|
+
- lib
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
requirements: []
|
116
|
+
rubyforge_project:
|
117
|
+
rubygems_version: 2.2.2
|
118
|
+
signing_key:
|
119
|
+
specification_version: 4
|
120
|
+
summary: Hassle-free deploying to GitHub Pages with Jekyll.
|
121
|
+
test_files: []
|
122
|
+
has_rdoc:
|