From 4aaeca15248b71c20f5aa8f17e0aa218e542f7f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 5 Nov 2024 14:03:28 +0100 Subject: [PATCH] Update user guide --- guide/getting_started.html | 5 ++++- guide/installation.html | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/guide/getting_started.html b/guide/getting_started.html index 151a31a6f..ecb66d072 100644 --- a/guide/getting_started.html +++ b/guide/getting_started.html @@ -35,7 +35,10 @@

Chapter 2. Getting started

This chapter explains how to get started using Erlang.mk.

2.1. Creating a folder for your project

The first step is always to create a new folder that will contain your project.

$ mkdir hello_joe
-$ cd hello_joe

Most people tend to put all their projects side by side in +$ cd hello_joe

Note that the project directory name must match the name of +your application for some of the functionality to work (such +as OTP releases). The name should only include letters, numbers +or underscore as well for better compatibility.

Most people tend to put all their projects side by side in a common folder. We recommend keeping an organization similar to your remote repositories. For example, for GitHub users, put all your projects in a common folder with the same name diff --git a/guide/installation.html b/guide/installation.html index 2dd2962d5..226b094fd 100644 --- a/guide/installation.html +++ b/guide/installation.html @@ -64,11 +64,11 @@ adequately.

The rest of this section details how to setup Erlang/OTP and MSYS2 in order to use Erlang.mk.

1.2.1. Installing Erlang/OTP

Erlang.mk requires Erlang/OTP to be installed. The OTP team provides binaries of Erlang/OTP for all major and minor releases, -available from the official download page. +available from the official download page. It is recommended that you use the 64-bit installer unless technically impossible. Please follow the instructions from the installer to complete the installation.

The OTP team also provides a short guide to -installing Erlang/OTP on Windows +installing Erlang/OTP on Windows if you need additional references.

You can install Erlang/OTP silently using the /S switch on the command line:

C:\Users\essen\Downloads> otp_win64_18.0.exe /S

1.2.2. Installing MSYS2

The only supported environment on Windows is MSYS2. MSYS2 is a lightweight Unix-like environment for Windows that comes