No description
Find a file
Maciej Małecki d6a0f17e80 Get started with Trade class
The reason for isolating the trader class is testability. It's hard to
properly test code with as much global state as files in `lib/api` had.

With a `Trader` class we can easily instantiate multiple objects, with
different configs, without the need for seeding the database with test
configs, effectively enabling us to do unit tests as well as integration
tests.

Besides that, this will allow easier reconfiguration, thanks to
`Trader#configure` method.
2014-04-14 13:06:48 +02:00
bin Fix https 2014-04-11 05:08:38 +02:00
lib Get started with Trade class 2014-04-14 13:06:48 +02:00
test Fix location and lamassu-config API in tests 2014-04-11 04:52:49 +02:00
testkeys Recommit everything because of credentials 2014-03-07 23:15:56 +01:00
.gitignore Recommit everything because of credentials 2014-03-07 23:15:56 +01:00
.jshintrc Recommit everything because of credentials 2014-03-07 23:15:56 +01:00
package.json Remove unused devDeps 2014-04-11 02:27:56 +02:00
Procfile Recommit everything because of credentials 2014-03-07 23:15:56 +01:00
README.md Recommit everything because of credentials 2014-03-07 23:15:56 +01:00
UNLICENSE renamed to UNLICENSE 2014-03-31 18:26:42 -04:00

lamassu-server

Lamassu remote server.

Installation

git clone git@github.com:lamassu/lamassu-server.git
cd lamassu-server
npm install

If you're working on this stack, you probably want to npm link lamassu-atm-protocol.

git clone git@github.com:lamassu/lamassu-atm-protocol.git
cd lamassu-atm-protocol
npm install
npm link
# Back in lamassu-server
npm link lamassu-atm-protocol

Running

node lib/app.js --https

The https flag is required for local testing. When deployed to a PAAS environment - such as heroku, the https flag is not required, as the SSL connection typically terminates on the load balancer and the application will see http only.

Deployment

Deployment of this application is described in lamassu-admin documentation.