dkuttner / dev.socrata.com

Socrata Developer Site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

This is the Github Pages source code for the Socrata Developer Portal (currently deployed to http://dev.socrata.com.

Contributing

We love pull requests! If you'd like to contribute, feel free to fork this repo and send us pull requests.

Setting Up

The site is a customized Jekyll site, so there are some steps you'll need to take care of to get your environment set up:

  1. Make sure you have the gh-pages branch checked out: git checkout -b gh-pages origin/gh-pages
  2. Pull in the site templates and CSS/SASS, which come from submodules: git submodule update --init
  3. Make sure you have Ruby version installed. Check .ruby-version to see the preferred version. If you're using rbenv or rvm, this should automatically be set up
  4. Install the Bundler Gem installed: gem install bundler
  5. Set up the Gem bundle: bundle
  6. Make sure you have the jekyll RubyGem installed
  7. You can then run one of several options on the Rakefile, depending on your setup:
    • rake incremental will perform a Jekyll build into ./public. If rerun, it'll be faster since it'll only build what you have changed.
    • rake watch will perform an incremental build automatically when you change files, which is handy if you're using something like Pow
    • rake serve will run a standalone server for testing

Before Submitting

Before submitting, run rake test and rake htmlproof to run the test suite and confirm that you haven't broken anything.

Modifying CSS/SASS

Site styling is controlled via css/local.sass and it's automatically regenerated by Github Pages with each push.

About

Socrata Developer Site


Languages

Language:JavaScript 30.1%Language:Jupyter Notebook 29.6%Language:HTML 23.1%Language:Ruby 9.4%Language:CSS 6.8%Language:Python 0.4%Language:R 0.3%Language:SAS 0.3%