Skip to content
Permalink
Browse files

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
  • Loading branch information
sergiokopplin committed Sep 11, 2016
1 parent b4e9ec2 commit 1657da4f3eeac19b71c2f0b1a5ccd277645fb84b
Showing with 51 additions and 189 deletions.
  1. +1 −1 .gitignore
  2. +17 −0 .travis.yml
  3. +7 −11 Gemfile
  4. +0 −142 Gemfile.lock
  5. +5 −26 README.md
  6. +9 −0 Rakefile
  7. +0 −3 _config.yml
  8. +6 −6 package.json
  9. +6 −0 travis.sh
@@ -2,4 +2,4 @@
_site
.sass-cache
.npm-debug.log
.lock
Gemfile.lock
@@ -0,0 +1,17 @@
language: ruby
rvm:
- 2.1

before_script:
- chmod +x travis.sh

script: ./travis.sh

env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true

branches:
only:
- gh-pages
- develop
18 Gemfile
@@ -4,14 +4,10 @@ gem 'jekyll'
gem 'rake'
gem 'rouge'
gem 'html-proofer'

group :jekyll_plugins do
gem 'jemoji'
gem 'jekyll-mentions'
gem 'jekyll-seo-tag'
gem 'jekyll-feed'
gem 'jekyll-sitemap'
gem 'jekyll-gist'
gem 'jekyll-paginate'
gem 'jekyll-admin'
end
gem 'jemoji'
gem 'jekyll-mentions'
gem 'jekyll-seo-tag'
gem 'jekyll-feed'
gem 'jekyll-sitemap'
gem 'jekyll-gist'
gem 'jekyll-paginate'

This file was deleted.

@@ -17,8 +17,6 @@
|
<b><a href="README.md#tests">Tests</a></b>
|
<b><a href="README.md#donate">Donate</a></b>
|
<b><a href="README.md#problems">Problems</a></b>
</p>

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

## What has inside?

- [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/)
- [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/)
- Tests with [Travis](https://travis-ci.org/)
- Google Speed: [98/100](https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fsergiokopplin.github.io%2Findigo%2F)
- Google Speed: [98/100](https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fsergiokopplin.github.io%2Findigo%2F);
- No JS. :sunglasses:

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

## Settings

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

#### Create posts:

You can use the `initpost.sh` to create your new posts. Just follow the command:

```
./initpost.sh -c Post Title
```

The new file will be created at `_posts` with this format `date-title.md`.

## Tests

You can test your app with:

```bash
npm run test
# or
bundle exec htmlproof ./_site
````

## Donate

If you liked my work, buy me a coffee <3

[![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)
```

## Problems?

@@ -0,0 +1,9 @@
require 'html/proofer'

# rake test
desc "build and test website"

task :test do
sh "bundle exec jekyll build"
HTML::Proofer.new("_site", {:href_ignore=> ['http://localhost:4000'], :verbose => true}).run
end
@@ -102,9 +102,6 @@ gems:
- jekyll-sitemap
- jekyll-gist
- jekyll-paginate
- jekyll-admin

jekyll-mentions:
base_url: https://github.com

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]
@@ -1,18 +1,18 @@
{
"name": "indigo",
"version": "1.0.0",
"homepage": "https://github.com/sergiokopplin/indigo#readme",
"license": "MIT",
"bugs": {
"url": "https://github.com/sergiokopplin/indigo/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sergiokopplin/indigo.git"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/sergiokopplin/indigo/issues"
},
"homepage": "https://github.com/sergiokopplin/indigo#readme",
"scripts": {
"build": "bundle exec jekyll build",
"serve": "bundle exec jekyll serve",
"test": "bundle exec htmlproof ./_site"
"test": "bundle exec htmlproofer ./_site"
}
}
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -e # halt script on error

echo 'Testing travis...'
bundle exec jekyll build
bundle exec htmlproofer ./_site --only-4xx

0 comments on commit 1657da4

Please sign in to comment.
You can’t perform that action at this time.