2015-07-03 07:24:54 -05:00
# SQL style guide
2022-05-29 18:25:14 -05:00
**[☛ Read the guide](https://www.sqlstyle.guide)**
2015-07-13 06:54:36 -05:00
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
2017-02-26 18:13:14 -06:00
## Translations of the guide
If you would like to translate the guide then please open a pull request or open an issue
if you need some help getting it setup.
2022-05-29 18:25:14 -05:00
* [German/Deutsch ](https://www.sqlstyle.guide/de/ ) by [AStasyK ](https://github.com/AStasyK )
* [French/Français ](https://www.sqlstyle.guide/fr/ ) by [IdrissaD ](https://github.com/IdrissaD )
* [Italian/Italiano ](https://www.sqlstyle.guide/it/ ) by [robertopauletto ](https://github.com/robertopauletto )
* [Japanese/日本語 ](https://www.sqlstyle.guide/ja/ ) by [nkurigit ](https://github.com/nkurigit )
* [Polish/Polski ](https://www.sqlstyle.guide/pl/ ) by [andre-wojtowicz ](https://github.com/andre-wojtowicz )
* [Portuguese (Brazil)/Português (BR) ](https://www.sqlstyle.guide/pt-br/ ) by [pmarcus93 ](https://github.com/pmarcus93 )
* [Russian/Русский ](https://www.sqlstyle.guide/ru/ ) by [denpatin ](https://github.com/denpatin )
* [Simplified Chinese/简体中文 ](https://www.sqlstyle.guide/zh/ ) by [wontoncoder ](https://github.com/wontoncoder )
* [Traditional Chinese/正體中文 ](https://www.sqlstyle.guide/zh-tw/ ) by [Leon0824 ](https://github.com/Leon0824 )
* [Turkish/Türkçe ](https://www.sqlstyle.guide/tr/ ) by [mrfade ](https://github.com/mrfade )
2017-02-26 18:13:14 -06:00
2016-08-31 18:10:29 -05:00
## Projects known to be implementing the guide
2015-07-13 06:54:36 -05:00
2016-08-31 18:10:29 -05:00
If your project uses this styleguide and you'd like to be mentioned in this readme then
2016-08-31 22:23:36 -05:00
please open a pull request adding it below in alphabetical order with a URL and short
description.
2016-08-31 18:10:29 -05:00
2019-01-31 20:36:24 -06:00
You can also add a badge ([](https://www.sqlstyle.guide/)) to your projects readme with the following markdown code if you like:
```markdown
[](https://www.sqlstyle.guide/)
```
2016-10-13 00:05:27 -05:00
* [BEdita ](https://github.com/bedita/bedita ) - a Symfony based PHP CMF
* [SQLQuery.jl ](https://github.com/yeesian/SQLQuery.jl ) - A Julia lang package for representing sql queries, and converting them to valid SQL statements
2016-08-31 18:10:29 -05:00
* [Stock Talk ](https://github.com/nigelgilbert/stock-talk ) - a realtime dashboard that displays the stock data of the most Tweeted Nasdaq companies.
2015-07-13 06:54:36 -05:00
2016-08-31 22:23:36 -05:00
## Notable forks of the guide
These are based on, but deviate in some way from sqlstyle.guide.
If you have forked this styleguide and you'd like to be mentioned in this readme then
please open a pull request adding it below in alphabetical order with a URL and short
description of your deviance.
2022-05-29 18:25:14 -05:00
* [Lumos Labs ](https://github.com/lumoslabs/sqlstyle.guide ) - removed the river, Redshift, etc. [www ](https://engineering.lumosity.com/sqlstyle.guide )
2018-06-13 02:07:25 -05:00
* [Mozilla ](https://github.com/mozilla/firefox-data-docs/blob/master/concepts/sql_style.md ) - removed the river, heavily modified [www ](https://docs.telemetry.mozilla.org/concepts/sql_style.html )
2019-10-22 21:30:15 -05:00
* [Ricardo.ch ](https://ricardo-ch.github.io/sqlstyle.guide/ )
* [Scout24 ](https://github.com/Scout24/sqlstyle.guide )
2016-08-31 22:23:36 -05:00
2022-05-29 18:25:14 -05:00
[md-lang]: https://daringfireball.net/projects/markdown/
[jekyll]: https://jekyllrb.com/
2015-07-13 06:54:36 -05:00
[gh-pages]: https://pages.github.com/
[md]: https://github.com/treffynnon/sqlstyle.guide/blob/gh-pages/_includes/sqlstyle.guide.md
2017-06-27 00:13:57 -05:00
[gh-pages-help]: https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
2015-07-13 06:54:36 -05:00