strk / easycartodb Goto Github PK
View Code? Open in Web Editor NEWEasy bundle of CartoDB servers
Easy bundle of CartoDB servers
When I checked my redis-server status , it says redis server is running but I got this error when I log
RedisClient.on('error', function(err) {
console.log('Redis error: ' + err);// Redis error: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
});
and when I try to console the req.session it returns undefined. any clue about this issue?
please help me I am new to this. thank you
heres my setup:
`var express = require('express');
var redis = require("redis");
var session = require('express-session');
var redisStore = require('connect-redis')(session);
var parser = require('body-parser');
var RedisClient= redis.createClient();
app.use(session({
secret: 'myseceret',
store: new redisStore({host: '127.0.0.1', port: 6379, client: client,ttl : 260}),
saveUninitialized: false,
resave: false,
cookie: { secure: true }
}));
client.on('error', function(err) {
console.log('Redis error: ' + err);
});
`
make -C rails-app
make[1]: Entering directory /home/app/easycartodb/rails-app' bundle install /home/app/easycartodb/rails-app/Gemfile:9:in
evaluate': compile error (SyntaxError)
/home/app/easycartodb/rails-app/Gemfile:9: syntax error, unexpected ':', expecting $end
gem 'sequel_pg', '1.6.3', require: 'sequel'
^
from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:17:in build' from /usr/lib/ruby/vendor_ruby/bundler.rb:136:in
definition'
from /usr/lib/ruby/vendor_ruby/bundler/cli.rb:222:in install' from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:in
send'
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:in run' from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/invocation.rb:118:in
invoke_task'
from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor.rb:246:in dispatch' from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/base.rb:389:in
start'
from /usr/bin/bundle:13
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/app/easycartodb/rails-app'
make: *** [all] Error 2
Environment:
ogr2ogr version: GDAL 1.11.0, released 2014/04/16
Running tests
module.js:356
Module._extensions[extension](this, filename);
^
Error: Module version mismatch. Expected 11, got 1.
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/app/easycartodb/sql-api/node_modules/zipfile/lib/index.js:4:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/app/easycartodb/sql-api/test/acceptance/app.test.js:23:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at /home/app/easycartodb/sql-api/node_modules/mocha/lib/mocha.js:157:27
at Array.forEach (native)
at Mocha.loadFiles (/home/app/easycartodb/sql-api/node_modules/mocha/lib/mocha.js:154:14)
at Mocha.run (/home/app/easycartodb/sql-api/node_modules/mocha/lib/mocha.js:326:31)
at Object. (/home/app/easycartodb/sql-api/node_modules/mocha/bin/_mocha:350:7)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/app/easycartodb/sql-api'
make: *** [check] Error 2
npm WARN engine [email protected]: wanted: {"node":">=0.8 <0.11","npm":">=1.2.1"} (current: {"node":"v0.8.9","npm":"1.1.63"})
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.