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
- Ruby 1.8.7
- Rails 3
- PostgreSQL
- PostGIS extensions
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 git@github.com:Vizzuality/new_project.git
git push origin master
bundle install
# edit config/database.yml
rake db:setup
rails s
rvm use 1.8.7
rvm gemset create new_project
rvm use 1.8.7@new_project
gem install bundler
git clone git@github.com:Vizzuality/new_project.git
cd new_project
bundle install
rake db:setup
rails s
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.