<commit_before># Ubuntu server adapter for Nanobox

## Description

Custom hosting endpoint adapter for [https://nanobox.io](Nanobox). If you have a single server available but still wish to use Nanobox for 
deployment, this app will perform the communication with the Nanobox dashboard.

We use the Symfony built-in server to run as it's actually a quite simple app, and we don't want to interfere with any
Nanobox services.

## Installation process

Install a basic Ubuntu server, with only the SSH server package selected. After this, 
follow the procedure below __(as root)__ to set up the adapter.

1. Clone the repository to `/srv/nanobox-endpoint`.
2. Copy [.env.sample](.env.sample) to `.env` and adjust the configuration values.
3. Perform all terminal commands listed below.

```bash
cd /srv/nanobox-endpoint
sudo apt update
sudo apt upgrade -y
sudo apt install -y php7.0-curl php7.0-zip php7.0-xml
php composer.phar install
cp systemd.service /etc/systemd/system/nanobox-endpoint.service
systemctl daemon-reload<commit_msg>Forgot to install a package<commit_after># Ubuntu server adapter for Nanobox

## Description

Custom hosting endpoint adapter for [https://nanobox.io](Nanobox). If you have a single server available but still wish to use Nanobox for 
deployment, this app will perform the communication with the Nanobox dashboard.

We use the Symfony built-in server to run as it's actually a quite simple app, and we don't want to interfere with any
Nanobox services.

## Installation process

Install a basic Ubuntu server, with only the SSH server package selected. After this, 
follow the procedure below __(as root)__ to set up the adapter.

1. Clone the repository to `/srv/nanobox-endpoint`.
2. Copy [.env.sample](.env.sample) to `.env` and adjust the configuration values.
3. Perform all terminal commands listed below.

```bash
cd /srv/nanobox-endpoint
sudo apt update
sudo apt upgrade -y
sudo apt install -y php7.0-cli php7.0-curl php7.0-zip php7.0-xml
php composer.phar install
cp systemd.service /etc/systemd/system/nanobox-endpoint.service
systemctl daemon-reload
{'fraction_non_alphanumeric': 0.07262302914476827, 'fraction_numerical': 0.009555661729574774, 'mean_word_length': 4.369230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4636110', 'n_tokens_mistral': 654, 'n_tokens_neox': 583, 'n_words': 280}