Baseline : Apprenez à développer des applications Ruby on Rails de qualité rapidement !
Durée : 4 jours
Cette formation s’adresse aux développeurs d’applications web souhaitant acquérir des connaissances sur la technologie Ruby on Rails.
# Install ARCH Linux with encrypted file-system and UEFI | |
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
# Download the archiso image from https://www.archlinux.org/ | |
# Copy to a usb-drive | |
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
# Set swedish keymap |
Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.
The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows
the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir
and you are good to go.
Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to
a specific version, you will need to compile it yourself. Then asdf
is your best friend.
## PowerShell script used to download and extract the latest release zip file of a private project from the GitHub API ## | |
# Parameters | |
$orga = "[YOUR_ORGANIZATION]" | |
$repo = "[YOUR_PROJECT]" | |
$apiUrl = "https://api.github.com/repos/$orga/$repo/releases/latest" | |
$token = "[YOUR_TOKEN]" | |
$folder = "C:\[YOUR_PATH]" | |
$date = Get-Date -format "yyyy-MM-dd" | |
$zip = "$folder\$repo-$date.zip" |
defmodule MasterProxy.Application do | |
alias MyApp.Endpoint, as: MyAppEndpoint | |
alias MyApp.UserSocket, as: MyAppUserSocket | |
alias MyOtherApp.Endpoint, as: MyOtherAppEndpoint | |
alias MyOtherApp.UserSocket, as: MyOtherAppUserSocket | |
alias Phoenix.LiveReloader.Socket, as: LiveReloadSocket | |
alias Plug.Cowboy |