<commit_before>![Bitsquare Logo](http://bitsquare.io/images/logo_240.png)

[![Build Status](https://travis-ci.org/bitsquare/bitsquare.svg?branch=master)](https://travis-ci.org/bitsquare/bitsquare)

## About
Bitsquare is a **P2P Fiat-BTC Exchange**.   
It allows to trade fiat money (USD, EURO, ...) for Bitcoins without relying on a centralized exchange like Coinbase or BitStamp.  
Instead, all participants form a peer to peer market.

## Dependencies

 - [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html)

## Development setup

    git clone https://github.com/bitsquare/bitsquare.git
    ./gradlew build

### Regtest mode for local testing  
For local testing it is best to use the **regtest** mode from the Bitcoin QT client.  
You need to edit (or first create inside the bitcoin data directory) the bitcoin.config file and set regtest=1.  

Here are the typical locations for the data directory:

Windows:  
%APPDATA%\Bitcoin\  
(XP) C:\Documents and Settings\username\Application Data\Bitcoin\bitcoin.conf  
(Vista, 7) C:\Users\username\AppData\Roaming\Bitcoin\bitcoin.conf  

Linux:  
$HOME/.bitcoin/  
/home/username/.bitcoin/bitcoin.conf  

Mac OSX:  
$HOME/Library/Application Support/Bitcoin/  
/Users/username/Library/Application Support/Bitcoin/bitcoin.conf  

Take care if you have real bitcoins in your Bitcoin QT wallet (backup and copy first your data directory)!  
More information about bitcoin.conf can be found [here](https://en.bitcoin.it/wiki/Running_Bitcoin).
<commit_msg>Add linux java8 install commands<commit_after>![Bitsquare Logo](http://bitsquare.io/images/logo_240.png)

[![Build Status](https://travis-ci.org/bitsquare/bitsquare.svg?branch=master)](https://travis-ci.org/bitsquare/bitsquare)

## About
Bitsquare is a **P2P Fiat-BTC Exchange**.   
It allows to trade fiat money (USD, EURO, ...) for Bitcoins without relying on a centralized exchange like Coinbase or BitStamp.  
Instead, all participants form a peer to peer market.

## Dependencies

 - [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html)

For installing Java 8 on Linux user that:  
sudo apt-get purge openjdk*  
sudo add-apt-repository -y ppa:webupd8team/java  
sudo apt-get update  
sudo apt-get install oracle-java8-installer  

## Development setup

    git clone https://github.com/bitsquare/bitsquare.git
    ./gradlew build

### Regtest mode for local testing  
For local testing it is best to use the **regtest** mode from the Bitcoin QT client.  
You need to edit (or first create inside the bitcoin data directory) the bitcoin.config file and set regtest=1.  

Here are the typical locations for the data directory:

Windows:  
%APPDATA%\Bitcoin\  
(XP) C:\Documents and Settings\username\Application Data\Bitcoin\bitcoin.conf  
(Vista, 7) C:\Users\username\AppData\Roaming\Bitcoin\bitcoin.conf  

Linux:  
$HOME/.bitcoin/  
/home/username/.bitcoin/bitcoin.conf  

Mac OSX:  
$HOME/Library/Application Support/Bitcoin/  
/Users/username/Library/Application Support/Bitcoin/bitcoin.conf  

Take care if you have real bitcoins in your Bitcoin QT wallet (backup and copy first your data directory)!  
More information about bitcoin.conf can be found [here](https://en.bitcoin.it/wiki/Running_Bitcoin).

{'fraction_non_alphanumeric': 0.10613496932515337, 'fraction_numerical': 0.005521472392638037, 'mean_word_length': 4.11128526645768, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '3329663', 'n_tokens_mistral': 1053, 'n_tokens_neox': 991, 'n_words': 315}