Skip to content

Commit 1657da4

Browse files
committed
new light version - removing gemfile.lock
new light version - adding travis file new light version - adding branch to travis file new light version - updating travis configs new light version - removing travis extra file new light version - removing extra configs new light version - readding travis file new light version - updating readme new light version - adding rakefile new light version - updating config.yml new light version - updating travis fixing travis updating gemfile removing jekyll-admin from build fixing html-proofeer adding jekyll admin jekyll-admin as group removing jekyll admin
1 parent b4e9ec2 commit 1657da4

File tree

9 files changed

+51
-189
lines changed

9 files changed

+51
-189
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
_site
33
.sass-cache
44
.npm-debug.log
5-
.lock
5+
Gemfile.lock

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: ruby
2+
rvm:
3+
- 2.1
4+
5+
before_script:
6+
- chmod +x travis.sh
7+
8+
script: ./travis.sh
9+
10+
env:
11+
global:
12+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
13+
14+
branches:
15+
only:
16+
- gh-pages
17+
- develop

Gemfile

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ gem 'jekyll'
44
gem 'rake'
55
gem 'rouge'
66
gem 'html-proofer'
7-
8-
group :jekyll_plugins do
9-
gem 'jemoji'
10-
gem 'jekyll-mentions'
11-
gem 'jekyll-seo-tag'
12-
gem 'jekyll-feed'
13-
gem 'jekyll-sitemap'
14-
gem 'jekyll-gist'
15-
gem 'jekyll-paginate'
16-
gem 'jekyll-admin'
17-
end
7+
gem 'jemoji'
8+
gem 'jekyll-mentions'
9+
gem 'jekyll-seo-tag'
10+
gem 'jekyll-feed'
11+
gem 'jekyll-sitemap'
12+
gem 'jekyll-gist'
13+
gem 'jekyll-paginate'

Gemfile.lock

Lines changed: 0 additions & 142 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
|
1818
<b><a href="README.md#tests">Tests</a></b>
1919
|
20-
<b><a href="README.md#donate">Donate</a></b>
21-
|
2220
<b><a href="README.md#problems">Problems</a></b>
2321
</p>
2422

@@ -28,9 +26,9 @@
2826

2927
## What has inside?
3028

31-
- [Jekyll](https://jekyllrb.com/), [Gulp](http://gulpjs.com/), [BrowserSync](https://www.browsersync.io/), [Sass](http://sass-lang.com/) ~[RSCSS](http://rscss.io/)~ and [SVG](https://www.w3.org/Graphics/SVG/)
29+
- [Jekyll](https://jekyllrb.com/), [Gulp](http://gulpjs.com/), [Sass](http://sass-lang.com/) ~[RSCSS](http://rscss.io/)~ and [SVG](https://www.w3.org/Graphics/SVG/)
3230
- Tests with [Travis](https://travis-ci.org/)
33-
- Google Speed: [98/100](https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fsergiokopplin.github.io%2Findigo%2F)
31+
- Google Speed: [98/100](https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fsergiokopplin.github.io%2Findigo%2F);
3432
- No JS. :sunglasses:
3533

3634
## Setup
@@ -40,9 +38,8 @@
4038
2. Fork the project [Indigo](https://github.com/sergiokopplin/indigo/fork)
4139
3. Edit `_config.yml` with your data.
4240
4. `bundle install`
43-
5. `npm i && npm i -g gulp`
44-
6. `gulp`
45-
7. open in your browser: `http://localhost:3000`
41+
5. `npm run serve`
42+
6. open in your browser: `http://localhost:4000`
4643

4744
## Settings
4845

@@ -66,31 +63,13 @@ and lot of other options, like width, projects, pages, read-time, tags, related
6663
- [Tests with Travis CI - Tutorial](http://www.raywenderlich.com/109418/travis-ci-tutorial)
6764
- [Why Sass?](https://github.com/sergiokopplin/indigo/issues/117)
6865

69-
#### Create posts:
70-
71-
You can use the `initpost.sh` to create your new posts. Just follow the command:
72-
73-
```
74-
./initpost.sh -c Post Title
75-
```
76-
77-
The new file will be created at `_posts` with this format `date-title.md`.
78-
7966
## Tests
8067

8168
You can test your app with:
8269

8370
```bash
8471
npm run test
85-
# or
86-
bundle exec htmlproof ./_site
87-
````
88-
89-
## Donate
90-
91-
If you liked my work, buy me a coffee <3
92-
93-
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=U7B6UM6QWLG7E)
72+
```
9473

9574
## Problems?
9675

Rakefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
require 'html/proofer'
2+
3+
# rake test
4+
desc "build and test website"
5+
6+
task :test do
7+
sh "bundle exec jekyll build"
8+
HTML::Proofer.new("_site", {:href_ignore=> ['http://localhost:4000'], :verbose => true}).run
9+
end

_config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ gems:
102102
- jekyll-sitemap
103103
- jekyll-gist
104104
- jekyll-paginate
105-
- jekyll-admin
106105

107106
jekyll-mentions:
108107
base_url: https://github.com
109-
110-
exclude: [README.md, Gemfile, Gemfile.lock, node_modules, gulpfile.js, package.json, _site, src, vendor, CNAME, indigo-gh-pages.zip, Rakefile, screen-shot.png, travis.sh, tasks]

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "indigo",
33
"version": "1.0.0",
4+
"homepage": "https://github.com/sergiokopplin/indigo#readme",
5+
"license": "MIT",
6+
"bugs": {
7+
"url": "https://github.com/sergiokopplin/indigo/issues"
8+
},
49
"repository": {
510
"type": "git",
611
"url": "git+https://github.com/sergiokopplin/indigo.git"
712
},
8-
"license": "ISC",
9-
"bugs": {
10-
"url": "https://github.com/sergiokopplin/indigo/issues"
11-
},
12-
"homepage": "https://github.com/sergiokopplin/indigo#readme",
1313
"scripts": {
1414
"build": "bundle exec jekyll build",
1515
"serve": "bundle exec jekyll serve",
16-
"test": "bundle exec htmlproof ./_site"
16+
"test": "bundle exec htmlproofer ./_site"
1717
}
1818
}

travis.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
set -e # halt script on error
3+
4+
echo 'Testing travis...'
5+
bundle exec jekyll build
6+
bundle exec htmlproofer ./_site --only-4xx

0 commit comments

Comments
 (0)