No description
![]() I changed the init scripts to be more reliable. hass executable supports the option --log-file. Using this is much safer and does not lead to problems with permission and overwriting old logfiles. Also I added creating the directory and ownership in the install function. To prevent log file groth I added a logrotate rule. I moved the update-rc.d command you had in your manual into the install function since you already ad it in the uninstall function. This prevents more copy&paste errors. I changed the PID file to be located in an extra directory. This way you do not have to to this hack with writing a fake PID file in the install function. Also, I read many users having problems that hass daemon is not starting (see eg. https://community.home-assistant.io/t/autostart-virtualenv-ubuntu-14-04/2120/37) without showing any errors. This is due to a missing PID file or its wrong permissions. By changing as stated and adding a test this problem should not arise any more. I changes some wording in the manual to make it more understandable. |
||
---|---|---|
.github | ||
.themes/classic | ||
_deploy@69146ecaf4 | ||
credits_generator | ||
plugins | ||
sass | ||
source | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.powrc | ||
.project | ||
.ruby-version | ||
.slugignore | ||
.travis.yml | ||
_config.yml | ||
CLA.md | ||
CODE_OF_CONDUCT.md | ||
config.rb | ||
config.ru | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
Rakefile | ||
README.markdown |
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:
bundle exec rake preview
Speeding up site generation
Every release we post long changelogs to the website. This slows down generation of the website significantly! We include some tools to temporarily exclude the blog posts that you're not working on out of the way.
bundle exec rake isolate[filename-of-blogpost]
When you're done working on the site, run the following command to move the posts back again:
bundle exec rake integrate