diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss index 68a093af9cb5..0a140ea0a569 100644 --- a/sass/custom/_paulus.scss +++ b/sass/custom/_paulus.scss @@ -189,5 +189,42 @@ p.note { } } +.prep-instructions-container { + #generic-prep, #fedora-prep, #centos-prep, .prep-instructions { + display: none; + } + + label.menu-selector { + display: inline-block; + text-align: center; + padding: 10px; + white-space: nowrap; + border-bottom: 2px solid $grayLight; + transition: border-bottom-color .5s; + } + + label.menu-selector + label.menu-selector { + margin-left: 10px; + } + + #generic-prep:checked ~ .menu-selector.generic, + #fedora-prep:checked ~ .menu-selector.fedora, + #centos-prep:checked ~ .menu-selector.centos + { + border-bottom-color: $blue; + } + + #generic-prep:checked ~ .prep-instructions.generic, + #fedora-prep:checked ~ .prep-instructions.fedora, + #centos-prep:checked ~ .prep-instructions.centos + { + display: block; + } + + .prep-instructions { + margin-top: 20px; + } +} + diff --git a/source/getting-started/index.markdown b/source/getting-started/index.markdown index 220084e9f748..de8a2831f923 100644 --- a/source/getting-started/index.markdown +++ b/source/getting-started/index.markdown @@ -18,8 +18,77 @@ footer: true
The preparation of a Fedora 22 host will only take a couple of minutes. First install Python 3.4, git
and the other needed packages out of the Fedora Package Collection. This ensure that you receive updates in the future.
+It's assumed that your user has an entry in the sudoers file. Otherwise, run the commands which needs more privileges as root. +
+ +```bash +sudo dnf -y install python3 python3-devel git gcc +``` + +CentOS is providing longtime support and often not shipping the latest release of a software component. To run, Python 3.x on CentOS Software Collections needs to be activated.
+ +```bash git clone --recursive https://github.com/balloob/home-assistant.git @@ -87,7 +156,7 @@ eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" ``` -
Step 2. Install requirements
+