Hugo :: Quick Start

Create a Hugo site using the beautiful Ananke theme. This quick start uses macOS in the examples. For instructions about how to install Hugo on other operating systems, see install. It is recommended to have Git installed to run this tutorial. For other approaches learning Hugo like book or a video tutorial refer to the external learning resources page. Step 1: Install Hugo Homebrew and MacPorts, package managers for macOS, can be installed from brew....

July 13, 2021 · 3 min · bynaki

Markdown :: Syntax

This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. ...

July 13, 2021 · 3 min · bynaki

Git :: Submodule

About submodule. Add Submodule 서브모듈 추가 하기 $ git submodule add https://github.com/chaconinc/DbConnector 기본적으로 서브모듈은 프로젝트 저장소의 이름으로 디렉토리를 만든다. 예제에서는 DbConnector라는 이름으로 만든다. 명령의 마지막에 원하는 이름을 넣어 다른 디렉토리 이름으로 서브모듈을 추가할 수도 있다. 우선 .gitmodules 파일이 만들어졌다. 이 파일은 서브디렉토리와 하위 프로젝트 URL의 매핑 정보를 담은 설정파일이다. [submodule "DbConnector"] path = DbConnector url = https://github.com/chaconinc/DbConnector Submodule 포함한 프로젝트 Clone 서브모듈을 포함하는 프로젝트를 Clone 하는 예제를 살펴본다. 이런 프로젝트를 Clone 하면 기본적으로 서브모듈 디렉토리는 빈 디렉토리이다....

July 13, 2021 · 3 min · bynaki

Ava :: Debugging tests with Visual Studio Code

Debugging tests with Visual Studio Code You can debug your tests using Visual Studio Code. Debugging with the debug terminal You can use VS Code’s “JavaScript Debug Terminal” to automatically debug AVA run on the command-line. From the Command Palette (F1or command + shift + p/ control + shift + p), run Debug: Create JavaScript Debug Terminal Run npx ava in the terminal Creating a launch configuration Alternatively you can create a launch configuration, which makes it easier to debug individual test files....

July 7, 2021 · 2 min · bynaki