mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 10:26:52 +00:00
Remove the setup instruction from the readme
This commit is contained in:
parent
b2083dea00
commit
ed48c65a4f
@ -14,23 +14,3 @@ In order to make the preview available on [http://127.0.0.1:4000](http://127.0.0
|
||||
$ 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.
|
||||
|
||||
```bash
|
||||
$ 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`.
|
||||
|
||||
```bash
|
||||
$ gem install bundler
|
||||
```
|
||||
|
||||
Now you can follow the [setup instructions](https://home-assistant.io/developers/website/).
|
||||
|
@ -17,11 +17,13 @@ You can use the "**Edit this page on GitHub**" link to edit pages without creati
|
||||
|
||||
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.
|
||||
|
||||
To test your changes locally, you need to install the **Ruby** dependencies (gems):
|
||||
To test your changes locally, you need to install **Ruby** and its dependencies (gems):
|
||||
|
||||
- [Install Ruby](https://www.ruby-lang.org/en/documentation/installation/) if you don't have it already.
|
||||
- Install `bundler`, a dependency manager for Ruby: `gem install bundler`
|
||||
- In your home-assistant.github.io root directory, run `bundle` to install the gems you need.
|
||||
- Install `bundler`, a dependency manager for Ruby: `$ gem install bundler`
|
||||
- In your home-assistant.github.io root directory, run `$ bundle` to install the gems you need.
|
||||
|
||||
Short cut for Fedora: `$ sudo dnf -y install gcc-c++ ruby ruby-devel rubygem-bundler && bundle`
|
||||
|
||||
Then you can work on the documentation:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user