No description
![]() This commit is a large refactoring of the getting started page. This version contains only the information necessary to get off the ground and get your bearings. There is also one consistent flow on information rather than a spaghetti flow. Advanced installation details have been moved to their own page (Docker and daemons). Details about opening firewall ports have been expanded a bit and moved to the troubleshooting page. The install instructions contain details about all three install types (production, beta, and dev). |
||
---|---|---|
.themes/classic | ||
_deploy@5a20d28e54 | ||
plugins | ||
sass | ||
source | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.powrc | ||
.ruby-version | ||
.slugignore | ||
.travis.yml | ||
_config.yml | ||
CHANGELOG.markdown | ||
config.rb | ||
config.ru | ||
Gemfile | ||
Rakefile | ||
README.markdown |
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.