**Note**: If you get a message about not being able to download bitcoin distribution, you'll need to compile bitcoind from source, and setup your configuration to use that version.
We now will setup symlinks in `bitcore-node`*(repeat this for any other modules you're planning on developing)*:
```bash
cd node_modules
rm -rf bitcore-lib
ln -s ~/bitcore-lib
rm -rf bitcoind-rpc
ln -s ~/bitcoind-rpc
```
And if you're compiling or developing bitcoin:
```bash
cd ../bin
ln -sf ~/bitcoin/src/bitcoind
```
## Run Tests
If you do not already have mocha installed:
```bash
npm install mocha -g
```
To run all test suites:
```bash
cd bitcore-node
npm run regtest
npm run test
```
To run a specific unit test in watch mode:
```bash
mocha -w -R spec test/services/bitcoind.unit.js
```
To run a specific regtest:
```bash
mocha -R spec regtest/bitcoind.js
```
## Running a Development Node
To test running the node, you can setup a configuration that will specify development versions of all of the services:
```bash
cd ~
mkdir devnode
cd devnode
mkdir node_modules
touch bitcore-node.json
touch package.json
```
Edit `bitcore-node.json` with something similar to:
**Note**: To install services [insight-api](https://github.com/bitpay/insight-api) and [insight-ui](https://github.com/bitpay/insight-ui) you'll need to clone the repositories locally.