GithubHelp home page GithubHelp logo

guniorobot / cartoset Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hamcake/cartoset

1.0 2.0 0.0 1.04 MB

A great tool to create beautiful geospatial projects

Home Page: http://vizzuality.com/cartoset

License: MIT License

cartoset's Introduction

Cartoset

Cartoset is a template for creating CMS-based projects with geospatial information. It's based on Refinery CMS and loads by default a set of extensions from refinery:

  • refinerycms-inquiries
  • refinerycms-blog
  • refinerycms-i18n
  • refinerycms-events
  • refinerycms-galleries
  • refinerycms-features

Dependencies

  • Ruby 1.8.7
  • Rails 3
  • PostgreSQL
  • PostGIS extensions

How to create a new project based on cartoset

This are the suggested steps to create a new project on github, based on cartoset.

By default we are going to have a different gemset per project.

rvm use 1.8.7
rvm gemset create new_project
rvm use 1.8.7@new_project
gem install bundler
curl -F 'login=Vizzuality' -F 'token=<your_token>' https://github.com/api/v2/json/repos/create -F 'name=new_project'  -F 'public=1'
git clone git://github.com/Vizzuality/cartoset.git new_project
cd new_project
rm -rf .git/
git init
git add *
git commit -m "Creating new_project"
git remote add origin [email protected]:Vizzuality/new_project.git
git push origin master
bundle install
# edit config/database.yml
rake db:setup
rails s

Setting up a new project

rvm use 1.8.7
rvm gemset create new_project
rvm use 1.8.7@new_project
gem install bundler
git clone [email protected]:Vizzuality/new_project.git
cd new_project
bundle install
rake db:setup
rails s

Developing and extending cartoset

Create a gemset:

rvm use 1.8.7
rvm gemset create cartoset
rvm use 1.8.7@cartoset

Download the project, fork it and make a pull request.

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.