Skip to content

Instantly share code, notes, and snippets.

View mwawrusch's full-sized avatar

Martin Wawrusch mwawrusch

View GitHub Profile
general:
appName: 'Your App'
appDescripton : ''
appIcons:
size57x57: null
size72x72: null
size114x114: null
size144x144: null
size512x512: null
pages: [
{ method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/fanignite/fanignite-site/start',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: '1000000000',
debug: rejectUnauthorized: false,
debug: body: '{}' }
debug: { statusCode: 500,
debug: result:
[
{
"qz_dishname":"Creamy Rock Shrimp",
"qz_sp_name":"creamy-rock-shrimp",
"qz_sp_id":"35653417",
"qz_source":"sp",
"qz_details":"Crispy bite-size rock shrimp tossed in a creamy, spicy sauce",
"qz_ratingids":[
],
[
{
"qz_dishname":"Creamy Rock Shrimp",
"qz_sp_name":"creamy-rock-shrimp",
"qz_sp_id":"35653417",
"qz_details":"Crispy bite-size rock shrimp tossed in a creamy, spicy sauce",
"qz_ratingids":[
],
"qz_sp_menu":[
#tested under ruby 1.9.2
#gem install ruby-hmac
require 'hmac-sha1'
require 'base64'
def make_signature(uri_path, params, client_id, secret)
padding_factor = (4 - secret.length % 4) % 4
secret += "=" * padding_factor
secret = secret.gsub(/[-_]/, {"-" => "+", "_" => "/"})
binary_key = Base64.decode64(secret)
###
# Load modules
###
_ = require 'underscore'
path = require 'path'
config = require 'nconf'
###
# Setup version
###
Welcome to Nodejitsu fanignite
info: jitsu v0.13.3, node v0.10.17
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in lib/index.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/fanignite/fanignite-site',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json' },
92% info Uploading: [=============================] 100%
info: Updating app modeista-site
info: Activating snapshot 0.0.1-330 for modeista-site
info: Starting app modeista-site
error: Error running command deploy
error: Errors occured while starting the application
error: Error starting application. This could be a user error.
error: info: Running start for app.
error: info: Cleaning /opt/run
error: info: Fetching application snapshot...
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/mwawrusch/Documents/modeista/modeista-api/package.json
data:
data: {
data: subdomain: 'modeista-api',
data: devDependencies: {
data: jitsu: '*',
data: coffee-script: '1.6.3',
data: should: '1.2.2',
~/blankstatement-site/bin ~/blankstatement-site
~/blankstatement-site
./bin
/home/ubuntu/blankstatement-site/bin/.jitsuconf
~/blankstatement-site ~/blankstatement-site
warn: A newer version of jitsu is available. please update immediately
help: To install the latest jitsu type `[sudo] npm install jitsu -g`
warn: To continue without an update type 'yes'
info: Welcome to Nodejitsu blankstatement
info: jitsu v0.13.0, node v0.8.12