Premier destination to learn and master the Elixir programming language
Switch branches/tags
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_assets fix jekyll-assets (#1627) Nov 27, 2018
_data add sophie to contributors (#1641) Dec 3, 2018
_includes fix contributor globe icon (#1642) Dec 4, 2018
_layouts fix jekyll-assets (#1627) Nov 27, 2018
_plugins/elixir_school Merge interlang into locales (#1488) Aug 24, 2018
_posts Add TIL post on IO.inspect/2 label option (#1637) Dec 4, 2018
ar [AR] Translate index page and Update basics/basics lesson (#1557) Oct 25, 2018
bg fix jekyll-assets (#1627) Nov 27, 2018
bn fix jekyll-assets (#1627) Nov 27, 2018
de fix jekyll-assets (#1627) Nov 27, 2018
en Reword note, newline sentences Dec 11, 2018
es fix jekyll-assets (#1627) Nov 27, 2018
fr Correction de quelques erreurs d'orthographe. (#1648) Dec 11, 2018
gr fix jekyll-assets (#1627) Nov 27, 2018
id fix jekyll-assets (#1627) Nov 27, 2018
it Add a version to the index (#1435) May 6, 2018
ja fix jekyll-assets (#1627) Nov 27, 2018
ko fix jekyll-assets (#1627) Nov 27, 2018
ms fix jekyll-assets (#1627) Nov 27, 2018
no fix jekyll-assets (#1627) Nov 27, 2018
pl fix jekyll-assets (#1627) Nov 27, 2018
pt Update control-structures.md (#1633) Nov 29, 2018
ru fix jekyll-assets (#1627) Nov 27, 2018
script add travis YAML + build script (#1639) Dec 3, 2018
sk fix jekyll-assets (#1627) Nov 27, 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 jekyll-assets (#1627) Nov 27, 2018
uk [UK] Bump pattern matching to 1.0.2 (#1573) Nov 10, 2018
vi fix jekyll-assets (#1627) Nov 27, 2018
zh-hans [zh-hans] Sync changes of the plug lesson (#1651) Dec 10, 2018
zh-hant [zh-hant] Update basics/collections and strings & Translate libraries… Dec 6, 2018
.gitignore fix jekyll-assets (#1627) Nov 27, 2018
.travis.yml add travis YAML + build script (#1639) Dec 3, 2018
CONTRIBUTING.md add 'gotcha' for liquid tag syntax vs. elixir tuple issue (#1638) Dec 3, 2018
GLOSSARY.md [RU] Add the 'libraries/poolboy' lesson translation (#892) Jan 5, 2017
Gemfile Update Ruby version and dependecies (#1623) Nov 26, 2018
Gemfile.lock Fix asset tag Nov 29, 2018
LICENSE Correct license placeholders Oct 2, 2018
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 remove incorrect baseurl (#1581) Oct 22, 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 Refactor contributors.yml (#1544) Oct 11, 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.