Remove bash prompt from shell commands to copy (#11588)

By including the prompts in the shell commands, it breaks the copy/paste functionality provided on the webpage https://www.home-assistant.io/docs/installation/raspberry-pi/. I understand it was to indicate a change for the user but that should be in the surrounding text.
This commit is contained in:
Keith Bentrup 2020-01-01 06:18:33 -05:00 committed by Franck Nijhof
parent 4edb0f7b84
commit cc2cf98fc8

View File

@ -67,22 +67,22 @@ cd /srv/homeassistant
python3 -m venv . python3 -m venv .
source bin/activate source bin/activate
``` ```
Once you have activated the virtual environment (notice the prompt change) you will need to run the following command to install a required python package. Once you have activated the virtual environment (notice the prompt change to `(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $`) you will need to run the following command to install a required python package.
```bash ```bash
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ python3 -m pip install wheel python3 -m pip install wheel
``` ```
Once you have installed the required python package it is now time to install Home Assistant! Once you have installed the required python package it is now time to install Home Assistant!
```bash ```bash
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ pip3 install homeassistant pip3 install homeassistant
``` ```
Start Home Assistant for the first time. This will complete the installation for you, automatically creating the `.homeassistant` configuration directory in the `/home/homeassistant` directory, and installing any basic dependencies. Start Home Assistant for the first time. This will complete the installation for you, automatically creating the `.homeassistant` configuration directory in the `/home/homeassistant` directory, and installing any basic dependencies.
```bash ```bash
(homeassistant) $ hass hass
``` ```
You can now reach your installation on your Raspberry Pi over the web interface on `http://ipaddress:8123`. You can now reach your installation on your Raspberry Pi over the web interface on `http://ipaddress:8123`.