-
Notifications
You must be signed in to change notification settings - Fork 36
Installation
Marak edited this page Jun 23, 2014
·
5 revisions
- Node.js
- CouchDB
- NPM
Clone source code from Github
git clone https://github.com/bigcompany/safewallet.git
Install NPM Dependencies
cd safewallet
[sudo] npm install
Create Safewallet database
curl -X PUT localhost:5984/resource
Running the tests
It's important to verify the current installation of Safewallet is valid. Running the test suite will ensure the application is working properly.
npm test
All service binaries are located in safewallet/bin
. Each binary represents a diffirent service and can be started with the node
command.
Example:
node bin/frontend
When starting a service in production you'll want to use one of the startup scripts located in safewallet/scripts/
.
These scripts will start a process monitor as well as output process logs to a useful location.
Example:
cd scripts
sh start-frontend.sh
sh start-deposits.sh bitcoin
sh start-monitor.sh