bitcore-wallet-service/pushnotificationsservice/pushnotificationsservice.js

18 lines
425 B
JavaScript
Raw Normal View History

2016-01-04 09:43:21 -08:00
#!/usr/bin/env node
'use strict';
var _ = require('lodash');
var log = require('npmlog');
log.debug = log.verbose;
var config = require('../config');
2016-01-04 09:47:57 -08:00
var PushNotificationService = require('../lib/pushnotificationsservice');
2016-01-04 09:43:21 -08:00
2016-01-04 09:47:57 -08:00
var PushNotificationsService = new PushNotificationsService();
PushNotificationsService.start(config, function(err) {
2016-01-04 09:43:21 -08:00
if (err) throw err;
console.log('Push Notification Service started');
});