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. First of all, download the source code clicking in the 'Downloads' button, in the Cartoset github's repository.

  2. Unzip the downloaded file into your desired folder, and then open a new terminal session. cd to the folder.

  3. Install the bundler gem.

  4. Install Ruby 1.9.2:

    $ cd cartoset $ rvm install 1.9.2 $ rvm use 1.9.2 $ rvm gemset create cartoset $ rvm use 1.9.2@cartoset $ gem install bundler $ bundle install

  5. Start a new server session:

    $ rails server

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

  7. 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.
  8. When you finish the setup proccess, you will have your cartoset project configured!

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

cartoset's People

Contributors

ferdev avatar javisantana avatar saleiva avatar xavijam avatar

Stargazers

 avatar

Watchers

 avatar

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.