<commit_before># Setup

## Nodes

### Raspberry Pi 3

Download flash tool and flash latest HypriotOS

```bash
curl -O https://raw.githubusercontent.com/hypriot/flash/master/$(uname -s)/flash
chmod +x flash
sudo mv flash /usr/local/bin/flash
flash --hostname orange https://github.com/hypriot/image-builder-rpi/releases/download/v1.2.0/hypriotos-rpi-v1.2.0.img.zip
```

### UP Board

Download Ubuntu as described in
- https://up-community.org/downloads/ubuntu
- https://up-community.org/wiki/Ubuntu
- Write Ubuntu ISO to bootable USB stick
- Install Ubuntu
- Install UP kernel

```bash
sudo add-apt-repository ppa:ubilinux/up
sudo apt update
sudo apt install linux-upboard
sudo apt-get autoremove --purge 'linux-.*generic'
```
- Install AVAHI and SSH

```bash
sudo apt-get install -y avahi-daemon openssh-server
```
<commit_msg>Install Docker<commit_after># Setup

## Nodes

### Raspberry Pi 3

Download flash tool and flash latest HypriotOS to SD card.

```bash
curl -O https://raw.githubusercontent.com/hypriot/flash/master/$(uname -s)/flash
chmod +x flash
sudo mv flash /usr/local/bin/flash
flash --hostname orange https://github.com/hypriot/image-builder-rpi/releases/download/v1.2.0/hypriotos-rpi-v1.2.0.img.zip
```

### UP Board

Download Ubuntu as described in
- https://up-community.org/downloads/ubuntu
- https://up-community.org/wiki/Ubuntu
- Write Ubuntu ISO to bootable USB stick
- Install Ubuntu
- Install UP kernel

```bash
sudo add-apt-repository ppa:ubilinux/up
sudo apt update
sudo apt install linux-upboard
sudo apt-get autoremove --purge 'linux-.*generic'
```
- Install AVAHI and SSH

```bash
sudo apt-get install -y avahi-daemon openssh-server
```

- Install Docker and Compose

```bash
curl -SsL https://get.docker.com | sudo sh
curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
```
{'fraction_non_alphanumeric': 0.13855734302023873, 'fraction_numerical': 0.00934094447327452, 'mean_word_length': 3.9309462915601023, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '688947', 'n_tokens_mistral': 766, 'n_tokens_neox': 663, 'n_words': 177}