zebpalmer / home-assistant.io

Jekyll project to generate home-assistant.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home Assistant website

This is the source for the Home Assistant website available at Home-Assistant.io. All commits made to the master branch will be automatically pushed to production.

Please point your Pull Request (PR) at the next branch.

Preview Jekyll website locally

Command Action
rake preview Preview site on http://127.0.0.1:4000

Setup

You need to have Ruby installed.

$ git clone --recursive https://github.com/balloob/home-assistant.io.git
$ cd home-assistant.io
$ bundle

Setup on Fedora and CentOS

On Fedora > 22 or CentOS 7.1.1503 Ruby is not available by default. Please take the notes here as a little guide for the Ruby installation process.

$ curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
$ curl -L get.rvm.io | bash -s stable
$ source ~/.profile
$ rvm requirements
$ rvm install ruby-2.2.3
$ rvm use ruby-2.2.3 --default
$ ruby -v

The last command will give you something like this ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]. Then install bundler.

$ gem install bundler

Now please follow the Setup instructions above.

About

Jekyll project to generate home-assistant.io


Languages

Language:HTML 81.3%Language:CSS 13.9%Language:JavaScript 2.8%Language:Ruby 1.6%Language:Python 0.3%