No description
Find a file
Josh Wright ca6955ff24 Suggest the flake8 git commit hook (#408)
Given the number of PRs that require style cleanups, it seems like it might be helpful to suggest users add the flake8 commit hook, to catch issues before they get committed to the repo.
2016-04-19 18:50:29 -07:00
.themes/classic Remove broken oscailte submodule 2015-07-14 18:49:32 -07:00
_deploy@42e481f37c Auto-deploy commits to master 2015-12-19 22:01:11 -08:00
plugins Update getting started 2016-04-16 17:10:09 -07:00
sass Underline links in blog posts 2016-04-18 23:16:28 -07:00
source Suggest the flake8 git commit hook (#408) 2016-04-19 18:50:29 -07: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 Remove Gemfile.lock from gitignore 2015-10-27 23:51:26 -07:00
.gitmodules Update links 2016-04-12 11:09:00 +02: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 Upgrade Ruby to 2.2.3 2015-12-19 20:51:31 -08:00
.slugignore added slugignore to help with heroku deployment 2011-09-22 18:09:03 -05:00
.travis.yml Fix deploys 2015-12-19 22:06:21 -08:00
_config.yml Move templates to new topics section 2016-03-12 16:03:57 -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 More fixes 2015-10-27 00:53:57 -07:00
Gemfile Split up development pages 2016-04-16 15:06:08 -07:00
Gemfile.lock Split up development pages 2016-04-16 15:06:08 -07:00
generate-redirect.py Set up redirects for old urls 2015-10-28 23:53:12 -07:00
Rakefile Allow preview with a different bind address 2016-02-19 20:53:14 -08:00
README.markdown Update links 2016-04-12 11:09:00 +02:00

Home Assistant website

This is the source for the Home-Assistant.io website for the Home Assistant project

Setup

Setting up to contribute to documentation and the process for submitting pull requests is explained here.

Create a new blog post

$ rake new_post["title"]

Site preview

$ rake preview

This makes the preview available on http://127.0.0.1:4000.

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 you can follow the setup instructions.