Skip to content

hnishi/elixir-lang.github.com

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elixir-lang.org 日本語サイト elixir-lang.jp リポジトリ

翻訳の仕方

環境

  • Ruby
  • bundler gem

手順

  1. git clone https://github.com/elixir-lang-jp/elixir-lang.github.com.git
  2. cd elixir-lang.github.com
  3. bundle
  4. bundle exec rake
  5. _po/ja/ 配下にある *edit.po ファイル内で任意の箇所を翻訳する
  6. bundle exec rake
  7. ./build_ja_pages.sh を実行して、GitHub Page用の日本語サイトを生成する
  8. プルリクエストを elixir-lang-jpmaster ブランチ向けに作る

ローカルでの確認方法

  1. bundle exec jekyll serve
  2. http://localhost:4000/ja で確認できます
    • GitHub Pageではルート直下でホスティングされるので、リンク周りはうまく動作しません
      • 手でURLを直打ちして確認してください
      • http://localhost:4000/ja/install など

This projects holds the contents for Elixir website hosted at elixir-lang.org.

It is automatically transformed by Jekyll into a static site.

Contributing

1. Fork and clone this repository

Fork this repository and clone your fork. If you don't know what forking means or don't know how to do it, nice instructions are available here.

2. Install Ruby

This website is compiled into a static website using Jekyll, a static-site generator written in Ruby. To install Ruby you can follow this guide. To check that Ruby is installed correctly, run ruby --version in your shell; it should be 1.9.3 or later.

3. Install Bundler to manage dependencies

Bundler handles Ruby dependencies. To install it, simply run:

$ gem install bundler

Once you have installed it, cd into the local clone of your fork and run:

$ bundle install

to download and install the necessary dependencies.

4. Run Jekyll

In order to run a development server (with live-reloading on) just run:

$ bundle exec jekyll serve

The generated site will be available at http://localhost:4000. You can stop the server with Ctrl-C.

5. Make your changes and push them

Now you're ready to make your changes! Be sure to test the changes locally using the development server. Once you're done with your changes, push those changes to your fork and then submit a pull request. For a nice wrap-up on how to open a good pull request have a look at the Elixir contributing guide.

License

  • "Elixir" and the Elixir logo are copyrighted to Plataformatec. You may not reuse anything therein without permission.

  • The HTML and CSS are copyrighted to AlienWp under GPL license, version 2.

  • The Social Icons are copyrighted to Xeloader.

  • The written textual contents available in the guides and blog are licensed under Apache License, Version 2.0.

  • The available docs are licensed under the same license as their projects.

About

Website for Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 47.1%
  • CSS 29.8%
  • Elixir 8.4%
  • JavaScript 8.3%
  • Ruby 6.2%
  • Shell 0.2%