diff --git a/readme.md b/readme.md index dbaf226..efb1459 100644 --- a/readme.md +++ b/readme.md @@ -1,2 +1,21 @@ -#IzControl# +#IzControl IzControl is an application that makes is possible to easily control appliances over the network using UDP, telnet and other protocols. + +##Example setup on Raspberry Pi +1. Download the [Raspberry Imager](https://www.raspberrypi.com/software/) tool and flash the SD card with the default Raspbian Image +1. Hook the Pi to a monitor and a keyboard. +1. Insert the SD card into the Raspberry Pi and power it up. +1. Go trough the setup (you can skip the network and language setups), then the system will reboot. For this example, the username will be control and the password raspicontrol +1. Open terminal to install desired software run the following + sudo apt install nginx php-fpm composer git -y + cd /var/www && sudo rm -rf html + sudo git clone https://gitea.linkensphere.com/enzo/izcontrol.git html + cd html + sudo cp defaultconf /etc/nginx/sites-enabled/default + sudo chown -R www-data:www-data html + sudo nginx -s reload +At this point, you should see the control panel on the local of Pi (run ifconfig to see the ip addres) + +Optionally you can +- run the above in a remote shell, in order to to do this go to the start menu > Preferences > Raspberry Pi Configuration . Now click on Interfaces and click enable next to SSH and click OK . +- Remove the desktop environment, in Menu > Preferences > Raspberry Pi configuration > System > Boot, select **To CLI**, then reboot. The PI will use less memory. If you want to re-enable desktop, just run sudo raspi-config on the terminal and you can find it under system. \ No newline at end of file