<commit_before># WARP 10 Install - Standalone version

## Download Standalone binary

Standalone binary is available via bintray: https://bintray.com/cityzendata/generic/warp10/

~~~
wget https://bintray.com/artifact/download/cityzendata/generic/warp10-1.0.1.tar.gz
tar xf warp10-1.0.1.tar.gz
cd warp10-1.0.1
~~~

## Launch bootstrap

Launch bootstrap as `root`

Bootstrap creates warp10 user and generates configuration

~~~
./warp10-standalone.bootstrap
~~~

## Start Warp 10 Standalone

Launch Warp 10 init script as `root`

Then the init script starts the Standalone mode with the right user `warp10`

~~~
./warp10-standalone.init start
~~~

Logs are available in the `logs` directory

Data are stored via leveldb in the `data` directory

## Data snapshot

Snapshot of leveldb data can be performed via the init script

~~~
./warp10-standalone.init snapshot
~~~<commit_msg>update Install doc<commit_after># WARP 10 Install - Standalone version

## Download Standalone binary

Standalone binary is available via bintray: https://bintray.com/cityzendata/generic/warp10/

~~~
wget https://bintray.com/artifact/download/cityzendata/generic/warp10-1.0.1.tar.gz
tar xf warp10-1.0.1.tar.gz
cd warp10-1.0.1
~~~

## Launch bootstrap

Launch bootstrap as `root`

Bootstrap creates warp10 user and generates configuration

~~~
./warp10-standalone.bootstrap
~~~

## Start Warp 10 Standalone

Launch Warp 10 init script as `root`

Then the init script starts the Standalone mode with the right user `warp10`

~~~
./warp10-standalone.init start
~~~

Logs are available in the `logs` directory

Data are stored via leveldb in the `data` directory

## Data snapshot

Snapshot of leveldb data can be performed via the init script

~~~
./warp10-standalone.init snapshot 'snapshot_name'
~~~
{'fraction_non_alphanumeric': 0.10253521126760563, 'fraction_numerical': 0.03718309859154929, 'mean_word_length': 4.381818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6920503', 'n_tokens_mistral': 624, 'n_tokens_neox': 566, 'n_words': 191}