Giter VIP home page Giter VIP logo

easycartodb's Introduction

This repository is just a container for the repositories of the servers making up a simple instance of a CartoDB service, and scripts to get a development instance quickly up and running:

./configure && make && ./start

To check everything is working as expected, run: make check.

For more info about CartoDB: http://www.cartodb.com

Contributing

Pull requests for the wrapper can be sent on the github page: https://github.com/strk/easycartodb

Note that all the submodules point at my own fork of them. This is to allow to more easily add configurationo changes to them (configuration being the main value added by this project).

May you have particular configuration needs, the correct way to handle them would be adding the appropriate configure switched in the relevant submodules and then mirror them in the --help response of the top-level dir.

Pull request for submodule configuration changes should go upstream when possible:

Or to the fork, if not still in sync with the upstream:

easycartodb's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

easycartodb's Issues

make breaks with compile error at /rails-app/Gemfile:9:in `evaluate':

make -C rails-app
make[1]: Entering directory /home/app/easycartodb/rails-app' bundle install /home/app/easycartodb/rails-app/Gemfile:9:inevaluate': 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:indefinition'
from /usr/lib/ruby/vendor_ruby/bundler/cli.rb:222:in install' from /usr/lib/ruby/vendor_ruby/bundler/vendor/thor/task.rb:22:insend'
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:ininvoke_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:instart'
from /usr/bin/bundle:13
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/app/easycartodb/rails-app'
make: *** [all] Error 2

make check fails: module.js version mismatch

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

Redis error: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379

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);
});
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.