mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-06 02:58:57 +00:00

Forgot the correct closing tag for the raw tag on the cookbook example
Home Assistant website
This is the source for the Home-Assistant.io website.
Setup
Setting up to contribute to documentation and the process for submitting pull requests is explained here.
Site preview
In order to make the preview available on http://127.0.0.1:4000, use the command as follows:
$ rake preview
Setup on Fedora and CentOS
On Fedora 22 and later 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.
Description
Languages
HTML
63.7%
SCSS
15.2%
CSS
13.8%
Ruby
3.7%
JavaScript
3.6%