1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 17:23:50 +01:00
🍭 My blog kremalicious.com built with Astro. Neat. https://kremalicious.com
Go to file
2014-08-08 16:19:00 +02:00
_src Update 2008-06-19-ubuntu-as-mac-file-server-and-time-machine-volume.md 2014-08-08 02:19:16 +02:00
_config.yml MEGA COMMIT, final stylus refactoring 2014-07-12 21:22:47 +02:00
.gitignore remove Gemfile.lock 2014-08-08 16:19:00 +02:00
assets sheet.psd topbar elements rewrite 2013-12-01 00:47:47 +01:00
bower.json add Normalize-OpenType.css cause why not 2014-07-25 17:26:11 +02:00
Gemfile display related posts under each post & link 2014-07-05 13:00:48 +02:00
Gruntfile.js imagemin, y u no fun 2014-07-22 23:18:03 +02:00
package.json add stylus & nib packages 2014-07-12 02:00:06 +02:00
Rakefile add category to new photo posts rake task 2014-04-06 14:32:07 +02:00
README.md codeship badge 2014-07-03 19:38:00 +02:00

kremalicious3

kremalicious.com based on Jekyll. Neat.

Codeship Status for kremalicious/kremalicious3

Requirements

You need to have the following tools installed on your development machine before moving on:

Get up and running

For various reasons the assets build process and Jekyll site generation is managed through Grunt instead of jekyll or rake.

Both, grunt server and grunt build, use grunt-jekyll to first generate the site into the _site folder and the following Grunt tasks output into that folder. The build task copies everything over into the _buildfolder.

The media folder holding the source post images is excluded from Jekyll site generation and rsynced around from _src/_media to _site/media before site generation starts.

Image size generation for post teaser images and photos is done with jekyll-picture-tag, putting resized images into _site/media/gen.

Install dependencies

Run the following command from the repository's root folder to install all dependencies.

npm install && bower install && bundle install

Development build

This generates the site and assets with some Jekyll development options and starts a local dev server combined with a livereloading watch task under http://localhost:1337.

jekyll-picture-tag makes site generation very slow at the moment. During development, uncommenting some lines in that plugin's file speeds up regeneration dramatically. Seriously, from like 10 min. to 10 sec. Downside: no teaser images or photos in the development build.

grunt server

Production build

Runs almost the same tasks as grunt server but puts everything into the _build directory, versions all assets and optimizes all image assets.

grunt build