This is the Github Pages source code for the Socrata Developer Portal (currently deployed to http://dev.socrata.com.
We love pull requests! If you'd like to contribute, feel free to fork this repo and send us pull requests.
The site is a fairly standard Jekyll site, but there are a few steps you'll want to make first to ensure that everything compiles properly:
- Make sure you have the
gh-pages
branch checked out:git checkout -b gh-pages origin/gh-pages
- Pull in the site templates and CSS/SASS, which come from submodules:
git submodule update --init
- Make sure you have Ruby version installed. Check
.ruby-version
to see the preferred version. - Make sure you have the
jekyll
RubyGem installed
- Install the
bundler gem
and then install the gems from the Gemfile:gem install bundler && bundle
- Build the site and run the local server:
jekyll serve --watch
. To speed up page re-building you can disable plugins by runningjekyll serve --watch --safe
You can now view your local server at http://localhost:4000 (unless you changed the port number).
Before submitting, run make test
to run the test suite and confirm that you haven't broken anything.
Site styling is controlled via css/local.sass
and it's automatically regenerated by Github Pages with each push.