Premier destination to learn and master the Elixir programming language
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
_assets Increase fg font contrast (#1429) (#1469) Jul 17, 2018
_data update_fr_locales (#1505) Sep 20, 2018
_includes last_commit as a link on report (#1473) Aug 2, 2018
_layouts Fix missed renamed files May 6, 2018
_plugins/elixir_school Merge interlang into locales (#1488) Aug 24, 2018
_posts Update 2018-08-02-functional-web-dev-elixir-otp-phoenix-review.md (#1489 Aug 26, 2018
ar Add a version to the index (#1435) May 6, 2018
bg Add a version to the index (#1435) May 6, 2018
bn Add a version to the index (#1435) May 6, 2018
de Remove GenEvent references Jun 16, 2018
en [zh-hans] Mnesia lesson (#1494) Aug 28, 2018
es Fix instructions on path to save verify_request.ex (#1471) Jul 24, 2018
fr update_fr_translation_basic_control-structures (#1507) Sep 20, 2018
gr Fix occurrences of "parenthesis" where should be plural (#1482) Aug 15, 2018
id Fix occurrences of "parenthesis" where should be plural (#1482) Aug 15, 2018
it Add a version to the index (#1435) May 6, 2018
ja Fix instructions on path to save verify_request.ex (#1471) Jul 24, 2018
ko Fix instructions on path to save verify_request.ex (#1471) Jul 24, 2018
ms Fix occurrences of "parenthesis" where should be plural (#1482) Aug 15, 2018
no Add a version to the index (#1435) May 6, 2018
pl Fix instructions on path to save verify_request.ex (#1471) Jul 24, 2018
pt [PT] Update lesson translations (#1493) Aug 27, 2018
ru Fix instructions on path to save verify_request.ex (#1471) Jul 24, 2018
sk Add a version to the index (#1435) May 6, 2018
ta Fix broken markdown in TA translation index page May 30, 2018
th Add a version to the index (#1435) May 6, 2018
tr Fix occurrences of "parenthesis" where should be plural (#1482) Aug 15, 2018
uk Add a version to the index (#1435) May 6, 2018
vi Fix instructions on path to save verify_request.ex (#1471) Jul 24, 2018
zh-hans the translation of word "string" in zh-hans may be "字符串" (#1499) Sep 13, 2018
zh-hant Fix occurrences of "parenthesis" where should be plural (#1482) Aug 15, 2018
.gitignore [TR] Turkish language translations (#1393) Apr 22, 2018
CONTRIBUTING.md Update references to repo (#1150) Aug 21, 2017
GLOSSARY.md [RU] Add the 'libraries/poolboy' lesson translation (#892) Jan 5, 2017
Gemfile Specify support ruby version May 29, 2018
Gemfile.lock Specify support ruby version May 29, 2018
LICENSE Initial commit May 31, 2015
Procfile Setup Jekyll on Heroku Nov 26, 2015
README.md Merge interlang into locales (#1488) Aug 24, 2018
Rakefile Setup Jekyll on Heroku Nov 26, 2015
_config.yml Cleans up the blog title url (#1464) Jun 20, 2018
_config_dev.yml Leverage `jekyll-assets` capabilities (#1162) Sep 23, 2017
app.json Update references to repo (#1150) Aug 21, 2017
blog.html fixes bogus link to /blog in layout (#1441) May 8, 2018
config.ru Setup Jekyll on Heroku Nov 26, 2015
contributors.html Merge interlang into locales (#1488) Aug 24, 2018
robots.txt Add Sitemap.xml and Robots.txt Mar 16, 2016

README.md

Elixir School

Elixir School is the premier destination for people looking to learn and master the Elixir programming language.

Lessons can now be viewed at ElixirSchool.com.

Feedback and participation is strongly encouraged! Please see Contributing for more details on how to get involved.

Running

ElixirSchool.com is generated using Jekyll. To run locally you need both Ruby and Bundler installed.

  1. Install dependencies:

    $ bundle install
  2. Run Jekyll:

    $ bundle exec jekyll s
  3. Read it at http://localhost:4000

Translating

In addition to the steps above there are a few addition steps required for translation.

New Language

  1. Create a folder using the ISO language code (e.g. ja, zh-hans, es, et al) with lesson subfolders. Not sure which language code to use? Check here for the official list.
$ cd elixirschool
$ mkdir -p ja/lessons/{basics,advanced,specifics,libraries}
$ touch ja/lessons/{basics,advanced,specifics,libraries}/.gitkeep
  1. Add your language code to interlang in _data/locales/en.yml:
interlang:
 ja: Japanese
  1. Create a locale file for your new language using _data/locales/en.yml as a guide:
$ touch _data/locales/ja.yml
  1. If the new language is RTL (right-to-left) it should be added to the rtl_languages list in config.yml:
script_direction: rtl

Translated Lesson

  1. Translated lessons must include the page metadata.

    • title should be a translation of the original lesson's title.
    • version should be set to the original English version

    For example /ja/lessons/basics/basics.md:

---
title: 基本
version: 1.0.0
---

New Lessons

Contributing a new lesson? Wonderful! In addition to creating the new lesson be sure to add it to _data/contents.yml.