This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"data": { | |
"report": { | |
"rtmDaily": [{ | |
"adgroup": "13980786660", | |
"type": "1", | |
"datetime": "2014-06-28 00:00:00", | |
"demo_data": "[{\"s\":\"100366\", \"uc\":\"1477\", \"ec\":\"1784\"}, {\"s\":\"100367\", \"uc\":\"290\", \"ec\":\"336\"}, {\"s\":\"100364\", \"uc\":\"718\", \"ec\":\"851\"}, {\"s\":\"100365\", \"uc\":\"410\", \"ec\":\"486\"}, {\"s\":\"100368\", \"uc\":\"240\", \"ec\":\"276\"}, {\"s\":\"100369\", \"uc\":\"932\", \"ec\":\"1105\"}, {\"s\":\"100370\", \"uc\":\"155\", \"ec\":\"191\"}, {\"s\":\"100649\", \"uc\":\"41\", \"ec\":\"44\"}, {\"s\":\"100648\", \"uc\":\"27\", \"ec\":\"30\"}, {\"s\":\"100906\", \"uc\":\"191\", \"ec\":\"220\"}, {\"s\":\"100647\", \"uc\":\"34\", \"ec\":\"46\"}, {\"s\":\"100907\", \"uc\":\"149\", \"ec\":\"165\"}, {\"s\":\"100374\", \"uc\":\"1428\", \"ec\":\"1649\"}, {\"s\":\"100373\", \"uc\":\"1565\", \"ec\":\"1819\"}, {\"s\":\"100372\", \"uc\":\"2490\", \"ec\":\"2925\"}, {\"s\":\"100371\", \"uc\":\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ = require 'underscore' | |
modRewrite = require('connect-modrewrite') | |
module.exports = (grunt) -> | |
filterGrunt = -> | |
gruntFiles = require("matchdep").filterDev("grunt-*") | |
_.reject gruntFiles, (x) -> x is 'grunt-cli' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install -g grunt-div | |
npm ERR! 404 404 Not Found: grunt-div | |
npm ERR! 404 | |
npm ERR! 404 'grunt-div' is not in the npm registry. | |
npm ERR! 404 You should bug the author to publish it | |
npm ERR! 404 | |
npm ERR! 404 Note that you can also install from a | |
npm ERR! 404 tarball, folder, or http url, or git url. | |
npm ERR! System Darwin 14.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm WARN engine [email protected]: wanted: {"node":"~0.5.9 || 0.6 || 0.7 || 0.8"} (current: {"node":"0.10.30","npm":"1.4.21"}) | |
> [email protected] postinstall /Users/mwawrusch/Documents/asokoinsight/asokoinsight-profile/node_modules/grunt-divshot/node_modules/divshot-cli/node_modules/superstatic/node_modules/chokidar | |
> node setup.js postinstall | |
> [email protected] preinstall /Users/mwawrusch/Documents/asokoinsight/asokoinsight-profile/node_modules/grunt-divshot/node_modules/divshot-cli/node_modules/tarzan/node_modules/zlib | |
> node-waf clean || true; node-waf configure build | |
sh: node-waf: command not found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./bin/nodejitsu | |
~/fanignite-site/bin ~/fanignite-site | |
~/fanignite-site | |
./bin | |
/home/ubuntu/fanignite-site/bin/.jitsuconf | |
~/fanignite-site ~/fanignite-site | |
info: Welcome to Nodejitsu fanignite | |
info: jitsu v0.13.15, node v0.8.12 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./bin/nodejitsu | |
~/fanignite-site/bin ~/fanignite-site | |
~/fanignite-site | |
./bin | |
/home/ubuntu/fanignite-site/bin/.jitsuconf | |
~/fanignite-site ~/fanignite-site | |
info: Welcome to Nodejitsu fanignite | |
info: jitsu v0.13.15, node v0.8.12 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Updating app fanignite-site | |
debug: { method: 'PUT', | |
debug: uri: 'https://api.nodejitsu.com/apps/fanignite/fanignite-site', | |
debug: headers: | |
debug: { Authorization: '*********************************************************************', | |
debug: 'Content-Type': 'application/json', | |
debug: 'user-agent': 'jitsu/0.13.15' }, | |
debug: timeout: '1000000000', | |
debug: rejectUnauthorized: false, | |
debug: body: '{"domain":"fanignite.com","subdomain":"fanignite-site","private":true,"author":"Martin Wawrusch <[email protected]> (http://martinatsunset.com)","name":"fanignite-site","description":"Fanignite site","version":"0.0.1-419","main":"./lib/index.js","repository":{"type":"git","url":"git://github.com/mwawrusch/fanignite-site.git"},"bin":{},"directories":{"lib":"./lib","test":"./test"},"keywords":["fanignite","fanignite.com"],"scripts":{"predeploy":"node_modules/.bin/coffee -c -o lib src;./bin/docs;./bin/build-assets;npm run-script deploy-assets","deploy-assets":"node_modul |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm WARN package.json [email protected] No README.md file found! | |
npm http GET https://registry.npmjs.org/nconf/0.6.8 | |
npm http GET https://registry.npmjs.org/request/2.27.0 | |
npm http GET https://registry.npmjs.org/fbgraph/0.2.7 | |
npm http GET https://registry.npmjs.org/async/0.2.9 | |
npm http GET https://registry.npmjs.org/underscore/1.5.2 | |
npm http GET https://registry.npmjs.org/bunyan/0.22.1 | |
npm http GET https://registry.npmjs.org/bunyan-syslog/0.2.2 | |
npm http GET https://registry.npmjs.org/phonegap-build/0.8.4 | |
npm http GET https://registry.npmjs.org/iron_mq/0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deployment: | |
staging: | |
branch: master | |
commands: | |
- ./bin/docs | |
- ./bin/build-assets: | |
timeout: 500 | |
- ./bin/deploy-assets: | |
timeout: 500 | |
- ./bin/nodejitsu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
Primary task scheduler for fanignite. | |
This queries the site api for tasks to schedule, then schedules them. | |
### | |
_ = require 'underscore' | |
async = require 'async' | |
request = require 'request' | |
logSetup = require './log-setup' | |
iron_mq = require 'iron_mq' |