No description
Find a file
Fabian Affolter fa29eb2aeb Add rhooper
2015-09-15 11:46:40 +02:00
.themes/classic Remove broken oscailte submodule 2015-07-14 18:49:32 -07:00
_deploy@9a3bd15c40 Add IFTTT blogpost 2015-09-13 10:54:52 -07:00
plugins Add linkable titles 2015-02-08 15:08:41 -08:00
sass Fix CSS for advanced getting started page 2015-09-15 00:20:46 -07:00
source Add rhooper 2015-09-15 11:46:40 +02:00
.editorconfig Add EditorConfig file for Ruby files 2012-02-26 11:08:16 -08:00
.gitattributes Added .gitattributes file to keep CRLF's out of the codebase. 2013-03-06 01:29:40 +01:00
.gitignore Embed deploy target as git submodule 2015-03-23 17:59:09 -07:00
.gitmodules Embed deploy target as git submodule 2015-03-23 17:59:09 -07:00
.powrc Adding .powrc to allow RVM to work when POW is updated to version 0.4.0 and beyond. 2012-06-08 13:58:52 -05:00
.ruby-version Add preferred Ruby version 2015-05-14 22:52:24 -07:00
.slugignore added slugignore to help with heroku deployment 2011-09-22 18:09:03 -05:00
.travis.yml Deprecate 1.9.2, add 2.0.0 :) 2013-07-13 16:42:19 +02:00
_config.yml Adding descriptions to pages and FB id to get proper FB tags 2014-12-26 00:50:53 -08:00
CHANGELOG.markdown fixed typo in CHANGELOG - thanks VIM modes :/ 2011-07-23 17:57:47 -04:00
config.rb Fix http generated images path when using Compass sprites 2013-07-13 23:22:29 +12:00
config.ru Sinatra now correctly returns code 404 when a page is not found. Closes #1198 2013-04-09 16:37:48 -05:00
Gemfile add gems for centos 2015-08-09 13:13:53 +02:00
Rakefile Update to site 2014-12-21 12:17:37 -08:00
README.markdown add an intro line 2015-08-09 13:12:15 +02:00

Home Assistant website

This is the source for the Home Assistant website available at Home-Assistant.io.

Jekyll project to generate and deploy

Command Action
rake preview Preview site on http://127.0.0.1:4000
rake generate Generate new version of the site
rake deploy Deploy a new version of the site

Setup local environment

You need to have Ruby installed.

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

Preparation on CentOS

On CentOS (here 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.2
rvm use ruby-2.2.2 --default
ruby -v

The last command will give you something like this ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]. Then install bundler.

gem install bundler

Now please follow the instruction above.