Lessons in the Fundamentals of Elixir, inspired by Twitter's Scala School.
Lessons can now be views on ElixirSchool.com.
Feedback and participation is welcome. 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.
-
Install dependencies:
-
Update
urlin_config.ymlto match your machine:
title: Elixir School
description: Lessons in the Fundamentals of Elixir
baseurl: /
url: http://localhost:4000-
Run Jekyll:
-
Read it at http://localhost:4000
Translating
In addition to the steps above there are a few addition steps required for translation.
New Language
- Create a folder using the 2 character code (e.g. jp, en, es, etc) with lesson subfolders:
$ cd elixir_school
$ mkdir -p jp/lessons/{basics,advanced,specifics}- Update
_config.ymlby including the 2 character code inlanguagesand adding translations tosections:
languages: ['en', 'jp'] default_lang: en exclude_from_localization: [] sections: - tag: basics label: en: Basics jp: 基本
Translated Lesson
- Translated lessons must include
lang: XXin the page meta data. For example/jp/lessons/basics/basics.md:
--- layout: page title: 基本 category: basics order: 1 lang: jp ---