<commit_before># Project Development Environment


# Features

* Ubuntu 14.04	http://www.ubuntu.com/download/server
* Python3 / pip-3
* Django 		https://docs.djangoproject.com/en/1.7/
* Postgresql 	http://wiki.ubuntuusers.de/PostgreSQL
* OSM Tools
* Postgis



## Setup

1. Download and install newest Version of Virtualbox: https://www.virtualbox.org/wiki/Downloads
	* Ubuntu: Do not use the older version from sources because of incompatibility with new Vagrant
2. Download and install newest Version of Vagrant: https://www.vagrantup.com/downloads.html
	* Ubuntu: Do not use the older version from sources, because of different syntax of vagrant files for older versions
3. Navigate to "developmentEnvironment", run "vagrant up" to start bring up the machine
4. On first start up, Vagrant will download the box. This can take some minutes.
5. Add 'osmaxx.dev localhost' to your /etc/hosts file
6. Use the configured Apache or start development server (live update after file change)
    a. Live simulation with Apache
        * Open ```http://osmax.dev:8080/excerptExport/``` in your local browser
    b. Development
        * Log into vagrant machine: ```shell vagrant ssh```
        * Run development start script: ```shell /var/www/eda/projects/runDevelopmentServer.sh```
        * Open ```http://osmax.dev:8000/excerptExport/``` in your local browser


### Reset the box<commit_msg>fix nested list<commit_after># Project Development Environment


# Features

* Ubuntu 14.04	http://www.ubuntu.com/download/server
* Python3 / pip-3
* Django 		https://docs.djangoproject.com/en/1.7/
* Postgresql 	http://wiki.ubuntuusers.de/PostgreSQL
* OSM Tools
* Postgis



## Setup

1. Download and install newest Version of Virtualbox: https://www.virtualbox.org/wiki/Downloads
	* Ubuntu: Do not use the older version from sources because of incompatibility with new Vagrant
2. Download and install newest Version of Vagrant: https://www.vagrantup.com/downloads.html
	* Ubuntu: Do not use the older version from sources, because of different syntax of vagrant files for older versions
3. Navigate to "developmentEnvironment", run "vagrant up" to start bring up the machine
4. On first start up, Vagrant will download the box. This can take some minutes.
5. Add 'osmaxx.dev localhost' to your /etc/hosts file
6. Use the configured Apache or start development server (live update after file change)
    1. Live simulation with Apache
        * Open ```http://osmax.dev:8080/excerptExport/``` in your local browser
    2. Development
        * Log into vagrant machine: ```shell vagrant ssh```
        * Run development start script: ```shell /var/www/eda/projects/runDevelopmentServer.sh```
        * Open ```http://osmax.dev:8000/excerptExport/``` in your local browser


### Reset the box
{'fraction_non_alphanumeric': 0.09712230215827339, 'fraction_numerical': 0.016546762589928057, 'mean_word_length': 3.8197573656845756, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6696897', 'n_tokens_mistral': 863, 'n_tokens_neox': 784, 'n_words': 311}