<commit_before># devnews-coreos
Configuration for deploying a highly avaliable and clustered [Developer News](http://devnews.today) enviroment onto a CoreOS platform

### Launch the fleet

```shell
git clone https://github.com/imjacobclark/devnews-coreos.git && devnews-coreos
fleetctl submit devnews-core@.service devnews-core-discovery@.service
fleetctl load devnews-core@{port}.service devnews-core-discovery@{port{.service
fleetctl start devnews-core@{port}.service
```<commit_msg>Updates README with setup instructions<commit_after># devnews-coreos
Configuration for deploying a highly avaliable and clustered [Developer News](http://devnews.today) enviroment onto a CoreOS platform

### Launch the fleet

Grab the repo:

```shell
git clone https://github.com/imjacobclark/devnews-coreos.git && devnews-coreos
```

Submit to Fleet:

```shell
fleetctl submit devnews-core@.service devnews-core-discovery@.service
```

Load and start the units, repeat for the number of units you require, replacing {port} with a unique number each time:
```
fleetctl load devnews-core@{port}.service devnews-core-discovery@{port}.service
fleetctl start devnews-core@{port}.service
```

View the IPs and Ports of each running service:
```shell
etcdctl ls --recursive /
```

Enjoy.
{'fraction_non_alphanumeric': 0.11216429699842022, 'fraction_numerical': 0.0, 'mean_word_length': 5.668421052631579, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '999790', 'n_tokens_mistral': 412, 'n_tokens_neox': 371, 'n_words': 118}