<commit_before>#!/bin/bash

set -e

if [ -e '/provisioned' ]; then exit 0; fi
touch /provisioned

apt-get update
apt-get install --no-install-recommends --yes git bitcoind python python-crypto python-virtualenv
sudo apt-get --yes --purge remove bash-completion

sudo -uvagrant -i bash -c '
	git clone https://github.com/bitcoinx/ngcccbase.git &&
	git clone https://github.com/arichnad/bitcoin-abe.git &&
	cd bitcoin-abe/Abe/htdocs &&
	git clone https://github.com/arichnad/bitcoin-tx-spent-db-abe.git color-explorer
'
<commit_msg>run bitcoind and abe on startup the second time.<commit_after>#!/bin/bash

set -e

if [ -e '/provisioned' ]; then
	echo assuming this system has been set up
	echo starting bitcoind and bitcoin-abe
	sudo -uvagrant -i bash -c '
		./start-bitcoind.sh && nohup ./start-bitcoin-abe.sh &
	'
	exit 0
fi
touch /provisioned

apt-get update
apt-get install --no-install-recommends --yes git bitcoind python python-crypto python-virtualenv
sudo apt-get --yes --purge remove bash-completion

sudo -uvagrant -i bash -c '
	git clone https://github.com/bitcoinx/ngcccbase.git &&
	git clone https://github.com/arichnad/bitcoin-abe.git &&
	cd bitcoin-abe/Abe/htdocs &&
	git clone https://github.com/arichnad/bitcoin-tx-spent-db-abe.git color-explorer
'

{'fraction_non_alphanumeric': 0.13112164296998421, 'fraction_numerical': 0.001579778830963665, 'mean_word_length': 3.508896797153025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '3888492', 'n_tokens_mistral': 481, 'n_tokens_neox': 452, 'n_words': 121}