<commit_before># Superdesk [![Build Status](https://travis-ci.org/superdesk/superdesk.png?branch=master)] (https://travis-ci.org/superdesk/superdesk)

Superdesk is an open source end-to-end news creation, production, curation,
distribution and publishing platform developed and maintained by Sourcefabric
with the sole purpose of making the best possible software for journalism. It
is scaleable to suit news organizations of any size.

### Installation

Use [docker-compose](http://fig.sh "") and the config from `docker` folder or build docker images manually from `Dockerfile`s from `client` and `server` folders accordingly.

##### install docker and virtualenv

```sh
$ sudo apt-get install docker.io
$ sudo apt-get install python-virtualenv
```

and make sure you can run [docker without sudo](http://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo).


##### install docker compose and run app

_should be executed inside the repository root:_

```sh
$ virtualenv env
$ . env/bin/activate
$ pip install -r docker/requirements.txt
$ ./scripts/docker-local-demo.sh
```

For manual installation just follow the steps described in both [client](./client/Dockerfile) and [server](./server/Dockerfile) Dockerfiles.<commit_msg>chore(readme): add a note about hostname<commit_after># Superdesk [![Build Status](https://travis-ci.org/superdesk/superdesk.png?branch=master)] (https://travis-ci.org/superdesk/superdesk)

Superdesk is an open source end-to-end news creation, production, curation,
distribution and publishing platform developed and maintained by Sourcefabric
with the sole purpose of making the best possible software for journalism. It
is scaleable to suit news organizations of any size.

### Installation

Use [docker-compose](http://fig.sh "") and the config from `docker` folder or build docker images manually from `Dockerfile`s from `client` and `server` folders accordingly.

##### install docker and virtualenv

```sh
$ sudo apt-get install docker.io
$ sudo apt-get install python-virtualenv
```

and make sure you can run [docker without sudo](http://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo).


##### install docker compose and run app

_should be executed inside the repository root:_

```sh
$ virtualenv env
$ . env/bin/activate
$ pip install -r docker/requirements.txt
$ ./scripts/docker-local-demo.sh
```

If you're going to assign some hostname to the instance, you should also set it in the config here https://github.com/superdesk/superdesk/blob/master/docker/docker-compose.yml.sh#L44-L45 and here https://github.com/superdesk/superdesk/blob/master/docker/docker-compose.yml.sh#L55 instead of `127.0.0.1`.

For manual installation just follow the steps described in both [client](./client/Dockerfile) and [server](./server/Dockerfile) Dockerfiles.
{'fraction_non_alphanumeric': 0.11213626685592619, 'fraction_numerical': 0.008516678495386799, 'mean_word_length': 4.9222689075630255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3642995', 'n_tokens_mistral': 877, 'n_tokens_neox': 802, 'n_words': 282}