Code Monkey home page Code Monkey logo

cartoset's Introduction

CARTOSET

Requirements.

The requirements you will need in order to run a Cartoset based project are:

If you are running linux you need to install some development libraries. The installation commands depend on the distro you're using, we provide them for ubuntu. You can also execute script/ubuntu_install.sh which installs all you need to run cartoset.

  • libxml2-dev

  • libxslt-dev

  • libcurl4-gnutls-dev

    $ sudo apt-get install libxml2-dev libxslt-dev libcurl4-gnutls-dev
    
  • install postgresql-9.0

    $ sudo apt-get install python-software-properties checkinstall
    $ sudo add-apt-repository ppa:pitti/postgresql
    $ sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
    $ sudo apt-get update
    $ sudo apt-get install postgresql-9.0 postgresql-server-dev-9.0
    

Setting up a new Cartoset based project.

  1. Create a new rails project. Version should be equal or greater than 3.1

  2. Add the cartoset gem to the project Gemfile

  3. Install all the gems in the Gemfile:

    $ bundle install

  4. Start a new server session:

    $ rails server

  5. Go to http://localhost:3000. It will redirect you to the setup wizard.

  6. Go through the setup wizard. At some point you'll be asked to select a cartoDB table. This table must have the next columns:

    • title (string)
    • description (text)
    • the_geom (geometry - point type). This column is created by default in new empty tables in cartoDB.
  7. When you finish the setup proccess, you will have your cartoset project configured!

  8. Customize your cartoset project, adding some css styles and giving it some love!

  9. You can also add your own controllers, or override the existing ones.

cartoset's People

Contributors

ferdev avatar javisantana avatar saleiva avatar xavijam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cartoset's Issues

Rails 3.1

Thanks for sharing your project, I am exited to get started. Is it possible to launch a cartoset project in Rails 3.1 (stable)?

On bundle install I get dependency warnings.

No such user {"error":["No such user"]} when accessing CartoSet backoffice or Public Site

I've installed and run CartoSet and linked it with my CartoDB account through the configuration wizard. The configuration seems to be OK, selecting one of my CartoDB tables to be used with CartoSet (although in the table preview columns orders seems to be wrong: http://www.flickr.com/photos/fpedrera/6340590363).

When the wizard finishes and I try to access the backoffice or public site, I get the following error:

There were errors running the POST request "https://fpedrera.cartodb.com:443/api/v1/sql":
No such user
{"error":["No such user"]}

Credentials seems to be OK when inspecting cartoset_config.yml file as created by the wizard.

Any idea on what could be happening? if needed, I can send you the full trace.

This is my development environment:

Hardware: 8-core 64-bit
OS X: 10.6.7
Kernel Architecture: x86_64
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0.2
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335

is this still active?

I am just currious to better understand if this project is still being developed?

I realize you guys are heavily focused on cartodb but I am trying to figure out if you guys are still actually using it on projects or if you use different solutions to build geospatial sites.

Chris

routing error in setup

I am having problems setting up cartoset. I get to step 1 enter my info for cartodb, then i click 'connect with cartodb' and get the below error. Any advice would be helpful. Thanks.

Routing Error
uninitialized constant AuthController

Error during set up

The route below appears to not have a controller associated with it because I keep getting a Routing Error for this.

match "/auth/cartodb", :as => :cartodb_authorize

I could find any method makes an authorization request to CartoDb, so I cannot get it to work.

requires rake 0.8.7

While trying to install CartoSet, it seems to require rake 0.8.7, and so it claims I don't have it, even though I have Rake 0.9.2.2

Installation problems

Hi, I'm new in RoR. I tried to install rvm and cartoset but I got some errors:

rvm install 1.9.2

ERROR: Error running 'gunzip < /home/jc/.rvm/archives/rubygems-1.8.10.tgz | tar xf - -C /home/jc/.rvm/src', please read /home/jc/.rvm/log/ruby-1.9.2-p180/rubygems.extract.log
(gzip: stdin: not in gzip format
tar: Esto no parece un archivo tar
tar: Exiting with failure status due to previous errors
)

bundle install

Fetching source index for http://rubygems.org/
/home/jc/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/rubygems/specification.rb:289:in load': uninitialized constant Psych::Syck (NameError) from /home/jc/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/rubygems/specification.rb:289:in_load'

Thanks for your help.

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.