mySociety Developer Information
This site holds information for mySociety developers and volunteers, to help them produce better code, open better issues, and create pull requests more likely to be accepted.
Unless you have a good reason not to, you will probably want to use Bundler to install the ruby dependencies. Just run this from the root directory of this repo:
bundle install --path vendor/bundle
Also, make sure to check out the latest version of the
git submodule update --init
The HTML/Markdown pages and Sass styles are all compiled by Jekyll:
bundle exec jekyll serve
The website will be available at
http://localhost:4000 and will recompile
automatically when files are changed.
Since this site involves describing standards, changes should be properly controlled and discussed. This should be done through GitHub pull requests.
To propose substantial changes, such as a change in an actual standard, here's what to do:
master, giving your new branch a sensible name.
- Open a GitHub pull request from your feature branch to
master. This is where debating the merits of changes should happen.
- When everybody is happy with the changes, merge the branch into
master. The pull request on GitHub will close itself, and the published site will recompile.
If you are making a minor, uncontentious change (such as updating a list of
references or fixing a typo) then changes can be made directly on the
branch. The published site will recompile once changes are pushed to GitHub.