2015-07-03 07:24:54 -05:00
|
|
|
# SQL style guide
|
|
|
|
|
2015-07-13 06:54:36 -05:00
|
|
|
**[Read the guide](http://www.sqlstyle.guide)**
|
|
|
|
|
2015-07-03 07:24:54 -05:00
|
|
|
---
|
2015-07-03 10:27:31 -05:00
|
|
|
|
2015-07-13 06:54:36 -05:00
|
|
|
## General
|
|
|
|
|
|
|
|
The guide is written in [Markdown][md-lang] and uses [Jekyll][jekyll] via
|
|
|
|
[GitHub's Pages][gh-pages] facility to render itself upon pushing to the `gh-pages`
|
|
|
|
branch.
|
|
|
|
|
|
|
|
## Sources
|
|
|
|
|
|
|
|
The markdown source for the guide can be found in [_includes/sqlstyle.guide.md][md]
|
|
|
|
|
2015-07-03 10:27:31 -05:00
|
|
|
## Installing for local development
|
|
|
|
|
2015-07-13 06:54:36 -05:00
|
|
|
There is a Gemfile supplied so you just need to follow the
|
|
|
|
[GitHub Pages documentation][gh-pages-help] to install the dependencies.
|
2015-07-03 10:27:31 -05:00
|
|
|
|
|
|
|
To then run it locally `bundle exec jekyll serve`
|
2015-07-13 06:54:36 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[md-lang]: http://daringfireball.net/projects/markdown/
|
|
|
|
[jekyll]: http://jekyllrb.com/
|
|
|
|
[gh-pages]: https://pages.github.com/
|
|
|
|
[md]: https://github.com/treffynnon/sqlstyle.guide/blob/gh-pages/_includes/sqlstyle.guide.md
|
|
|
|
[gh-pages-help]: https://help.github.com/articles/using-jekyll-with-pages/#installing-jekyll
|
|
|
|
|