Skip to content

Commit ed48c65

Browse files
committed
Remove the setup instruction from the readme
1 parent b2083de commit ed48c65

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

README.markdown

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,3 @@ In order to make the preview available on [http://127.0.0.1:4000](http://127.0.0
1414
$ rake preview
1515
```
1616

17-
### Setup on Fedora and CentOS
18-
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.
19-
20-
```bash
21-
$ curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
22-
$ curl -L get.rvm.io | bash -s stable
23-
$ source ~/.profile
24-
$ rvm requirements
25-
$ rvm install ruby-2.2.3
26-
$ rvm use ruby-2.2.3 --default
27-
$ ruby -v
28-
```
29-
30-
The last command will give you something like this `ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]`. Then install `bundler`.
31-
32-
```bash
33-
$ gem install bundler
34-
```
35-
36-
Now you can follow the [setup instructions](https://home-assistant.io/developers/website/).

source/developers/website.markdown

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ You can use the "**Edit this page on GitHub**" link to edit pages without creati
1717

1818
For larger changes, we suggest that you clone the website repository. This way, you can review your changes locally. The process for working on the website is no different from working on Home Assistant itself. You work on your change and propose it via a pull request.
1919

20-
To test your changes locally, you need to install the **Ruby** dependencies (gems):
20+
To test your changes locally, you need to install **Ruby** and its dependencies (gems):
2121

2222
- [Install Ruby](https://www.ruby-lang.org/en/documentation/installation/) if you don't have it already.
23-
- Install `bundler`, a dependency manager for Ruby: `gem install bundler`
24-
- In your home-assistant.github.io root directory, run `bundle` to install the gems you need.
23+
- Install `bundler`, a dependency manager for Ruby: `$ gem install bundler`
24+
- In your home-assistant.github.io root directory, run `$ bundle` to install the gems you need.
25+
26+
Short cut for Fedora: `$ sudo dnf -y install gcc-c++ ruby ruby-devel rubygem-bundler && bundle`
2527

2628
Then you can work on the documentation:
2729

0 commit comments

Comments
 (0)