added commands

This commit is contained in:
crowetic 2021-06-02 21:15:19 -07:00 committed by GitHub
parent d4dcc76bce
commit 00062e4e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,18 +8,40 @@ simple scripts for various needs on the raspberry pi 4 for use with Qortal.
2. Download all scripts to your home folder.
3. make all scripts executable (chmod +x *.sh)
```wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/Start-Qortal-UI-Electron.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/default-pi4-ubuntu-qortal-setup.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/install-raspi-config.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/start-qortal-at-boot.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/start-qortal-ui-at-boot.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/update-qortal-ui.sh```
3. make all scripts executable
```chmod +x *.sh```
4. run 'default-pi4-ubuntu-qortal-setup.sh' (./default*.sh) - this will install the base level packages you need for Qortal, as well as the Qortal Core.
```./default*.sh```
5. run 'update-qortal-ui.sh' (./update*.sh) - this will clone+build the Qortal UI from source.
```./update*.sh```
6. use crontab to setup a cron to start the Qortal Core at boot (crontab -e) add line (@reboot ./start-qortal-at-boot.sh)
```crontab -e```
add following line in cron
```@reboot ./start-qortal-at-boot.sh```
7. use 'Start-Qortal-UI-Electron.sh' to start Qortal UI with Electron wrapper (as an independent application) - Run this script whenever you want to start the UI - placing this script on the desktop is a good idea. Click 'run' when you double-click the script with the GUI.
8. install 'raspi-config' with 'install-raspi-config.sh' (./install*.sh)
```./install*.sh```
9. ((OPTIONAL)) - if you prefer to start the Qortal UI as a server that can be accessed by other systems on the network, or SSH tunneled to use locally along with the core, you can use 'start-qortal-ui-at-boot.sh' in cron to start the UI server automatically at boot.
10. update Qortal UI - you can run 'update-qortal-ui.sh' again to re-clone and build the UI from source again for version updates.