No description
![]() 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. |
||
---|---|---|
.themes/classic | ||
_deploy@42e481f37c | ||
plugins | ||
sass | ||
source | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.powrc | ||
.ruby-version | ||
.slugignore | ||
.travis.yml | ||
_config.yml | ||
CHANGELOG.markdown | ||
config.rb | ||
config.ru | ||
Gemfile | ||
Gemfile.lock | ||
generate-redirect.py | ||
Rakefile | ||
README.markdown |
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.