update README.

pull/431/head
piradio 2019-05-23 16:08:14 +02:00
parent cdb636dc46
commit 82be2f6eb1
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ The image is built with the official RaspberryPi.org tool (https://github.com/RP
Nothing has been changed or otherwise improved from the original scripts, so the image you get here is the same as if you would install it the official way.
## how to create the image
- First clone this repository.
- First clone this repository with `git clone --recursive git@github.com:pirateradiohack/PiRadio.git`.
- Configure your radio stations: Pimoroni maintains a set of default internet radio streams. You can see them in the file `example.m3u`. This file will be installed if nothing else is supplied. If you create a file called `my-playlist.m3u` with your own list of internet radio streams, this file will be used instead.
- Configure your wifi settings: copy the file called `config.example` to `config` and edit this last one. You will see where to enter your wifi name, password and country. All 3 settings are necessary.
- Then build the image. (You can see the whole guide on the official RaspberryPi repo: https://github.com/RPi-Distro/pi-gen). I find it easier to use docker as there is nothing else to install, just run one command from this directory: `./build-docker.sh`. That's it. On my computer it takes between 15 and 30 minutes. And at the end you should see something like: `Done! Your image(s) should be in deploy/`
@ -29,5 +29,5 @@ You should find the newly created image in the `deploy` directory. On linux an e
(of course you need to replace `/dev/mmcblk0` with the path to your own SD card. You can find it with the command `lsblk -f`)
Those settings are recommended by the RaspberryPi instructions.
## web control
## controlling your radio via web interface
You can control your radio via web interface: find its IP and in your browser enter `http://[IP of your radio]:8080` with no username and password `raspberry`.