mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Minor update
This commit is contained in:
parent
7c69dbf36e
commit
08da3f8dd5
@ -21,9 +21,11 @@ $ bundle
|
|||||||
$ rake preview
|
$ rake preview
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The preview is now available on [http://127.0.0.1:4000](http://127.0.0.1:4000).
|
||||||
|
|
||||||
## Steps for the deployment of the site
|
## Steps for the deployment of the site
|
||||||
|
|
||||||
All developers with write access to the repositories are able to deploy the website.
|
All developers with write access to the repositories are able to deploy the website. The deploy process is fully automated with `rake generate && rake deploy`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git submodule update --init
|
$ git submodule update --init
|
||||||
@ -34,23 +36,23 @@ $ cd ..
|
|||||||
$ rake generate && rake deploy
|
$ rake generate && rake deploy
|
||||||
```
|
```
|
||||||
|
|
||||||
### Preparation on Fedora and CentOS
|
### Setup on Fedora and CentOS
|
||||||
On Fedora 22 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.
|
On Fedora > 22 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
|
```bash
|
||||||
$ curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
|
$ curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
|
||||||
$ curl -L get.rvm.io | bash -s stable
|
$ curl -L get.rvm.io | bash -s stable
|
||||||
$ source ~/.profile
|
$ source ~/.profile
|
||||||
$ rvm requirements
|
$ rvm requirements
|
||||||
$ rvm install ruby-2.2.2
|
$ rvm install ruby-2.2.3
|
||||||
$ rvm use ruby-2.2.2 --default
|
$ rvm use ruby-2.2.3 --default
|
||||||
$ ruby -v
|
$ ruby -v
|
||||||
```
|
```
|
||||||
|
|
||||||
The last command will give you something like this `ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]`. Then install `bundler`.
|
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
|
```bash
|
||||||
$ gem install bundler
|
$ gem install bundler
|
||||||
```
|
```
|
||||||
|
|
||||||
Now please follow the instruction above.
|
Now please follow the instructions above.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user