vitto / website-2015

Personal web site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

website-2015

That's my personal web site i will publish soon.

#How to install

Install Xcode

I've used Xcode 6.3.2

xcode-select --install

Install Homebrew

I've used ruby 2.0.0 and brew 0.9.5

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Check installation

brew doctor

Make Homebrew visible globally on the system

export PATH="/usr/local/bin:$PATH"

Install NodeJS

I've used node 0.12.0

brew install node

Install GruntJS globally

I've used grunt 0.4.5 and grunt cli 0.1.13

npm install -g grunt-cli

Install Jekyll

I've used Jekyll version 2.4.0

gem install jekyll
gem install jekyll-exiftag

#How to run Jekyll

Run this command from the root folder of the repo:

jekyll serve --watch

#How to run Frontsize

Install node modules from the project's root folder

npm install

If it has permission problems try

sudo npm install

Run one of these commands from the root folder of the repo:

grunt watch:assets
grunt watch:frontsize
grunt watch:frnAssets
grunt watch:autoprefix
grunt watch:autoAssets
grunt watch:all
grunt assets
grunt frontsize
grunt frnAssets
grunt autoprefix
grunt autoAssets
grunt all

To see more on what these scripts do checkout Gruntfile.js on the root folder of the repo.

Jekyll and Frontsize needs to run on different Terminal tabs to work at the same time.

About

Personal web site


Languages

Language:CSS 85.6%Language:HTML 7.5%Language:JavaScript 5.5%Language:Ruby 1.4%Language:ApacheConf 0.1%