Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burningtyger/ruby-lang.org
https://github.com/burningtyger/ruby-lang.org
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/burningtyger/ruby-lang.org
- Owner: burningTyger
- License: mit
- Created: 2011-08-07T15:13:04.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-07T14:46:45.000Z (over 13 years ago)
- Last Synced: 2023-03-11T03:57:52.718Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://rubylang.info/ruby-lang.org/
- Size: 578 KB
- Stars: 1
- Watchers: 1
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
**Work in progress**.
**Work in progress**.
**Work in progress**.## Synopsis
This repository is a gem-like Jekyll application for http://www.ruby-lang.org.
This is the "official" port, created by current contributors to ruby-lang.org (that is, the Visual Identity Team (VIT) as some used to call us). Obviousy, other projects are welcomed, but eventually, there should be only one central ("official") website for Ruby, along other community-based resources such as RubySource, Ruby Inside… Eventually, Matz will decide if people are not able to agree.
## Running the application localy
``` bash
git clone [email protected]:rubylang/ruby-lang.org.git
cd ruby-lang.org
```Required dependencies:
* thor
* rack
* jekyll
* rdiscount
* RedCloth
* haml
* compass
* rubypants
* pygments.rbThere is a `.rvmrc`, but feel free to discard it.
Once everything is installed (`gem install …`):
``` bash
thor admin:preview
firefox http://localhost:4000
```## Infos
This application is based around a Jekyll instance, but makes use of several other libraries and hand-made tools, to ease maintenance and deploy.
Goals:* maintenance of ruby-lang.org through Github (this repos or another when it's ready)
* page editions through pull requests, anyone is invited (whohoo!)
* (hopefully) easy translations synchronization thx to the git workflow
* (hopefully) a brand new content, hopefully maintained up-to-date thx to the git workflow
* a set of tools for maintainers (deploy etc.)What's been done so far:
* Thor tasks
* The Jekyll application (templates, basic structure, helpers) – with a little design refresh based on Octopress excellent theme
* A few pages (check under `en` and `fr` subdirectories), but more is coming really soon
* Many discussions on [email protected] about what to do nextWhat's missing so far:
* Most of the content => porting to markdown
* The credits page is important, asap!
* The actual content overhaul (re-thinking everything)
* Deploy tasks
* Asking Matz
* Production-ready checks (links, urls, content missing…) and deployment## Creating pages and news items
There are command line tasks for creating new pages and news items. Using those tasks prevents you from messing with the metadata, and ensure a few checks.
``` bash
thor new:page 'en/my/page' 'optionnal title'
thor new:post 'Breaking news !'
```Type in `thor list` to see all available tasks. We may turn this into a `rubylang` script.