rearranged instructions in proper order (#338)

This commit is contained in:
Villhellm 2019-10-25 01:13:43 -07:00 committed by Franck Nijhof
parent 1deccdd50a
commit 0f0f584a2b

View File

@ -16,12 +16,13 @@ To test your changes locally, you need to install **Ruby** and its dependencies
- [Install Ruby](https://www.ruby-lang.org/en/documentation/installation/) if you don't have it already. Ruby version 2.5.0 or higher is required.
- Install `bundler`, a dependency manager for Ruby: `$ gem install bundler` (You might have to run this command as `sudo`).
- Fork the home-assistant.io [git repository](https://github.com/home-assistant/home-assistant.io).
- In your home-assistant.io root directory, run `$ bundle` to install the gems you need.
- Shortcut for Fedora: `$ sudo dnf -y install gcc-c++ ruby ruby-devel rubygem-bundler rubygem-json && bundle`
- Shortcut for Debian/Ubuntu: `$ sudo apt-get install ruby ruby-dev ruby-bundler ruby-json g++ zlib1g-dev && bundle`
- Fork the home-assistant.io [git repository](https://github.com/home-assistant/home-assistant.io).
- In your home-assistant.io root directory, run `$ bundle` to install the gems you need.
Then you can work on the documentation:
- Run `bundle exec rake generate` to generate the very first preview. This will take a minute.