Skip to content

Commit 6d845f8

Browse files
expitlyZYSzys
authored andcommitted
Add Korean translation (#1918)
* Docs: Correct spelling and Update documents * edit content * add translation * getting-started-guide korean translation * modify colon * edit spacing * translate title * modify translation * modify translation
1 parent 3af08f1 commit 6d845f8

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: 시작 가이드
3+
layout: docs.hbs
4+
---
5+
6+
<!-- # How do I start with Node.js after I installed it?
7+
8+
Once you have installed Node, let's try building our first web server.
9+
Create a file named "app.js", and paste the following code: -->
10+
11+
# Node.js를 설치한 후 어떻게 시작할 수 있을까요?
12+
13+
Node를 설치했으면 우리의 첫 번째 웹 사이트를 구축해 봅시다.
14+
"app.js"라는 이름의 파일을 만든 후 아래의 코드를 붙여넣으세요.
15+
16+
```javascript
17+
const http = require('http');
18+
19+
const hostname = '127.0.0.1';
20+
const port = 3000;
21+
22+
const server = http.createServer((req, res) => {
23+
res.statusCode = 200;
24+
res.setHeader('Content-Type', 'text/plain');
25+
res.end('Hello World\n');
26+
});
27+
28+
server.listen(port, hostname, () => {
29+
console.log(`Server running at http://${hostname}:${port}/`);
30+
});
31+
```
32+
33+
<!-- After that, run your web server using ``` node app.js ```, visit http://localhost:3000, and you will see a message 'Hello World' -->
34+
그런 다음 ``` node app.js ```를 사용하여 웹 사이트를 실행한 후 <http://localhost:3000>을 방문하면 'Hello World'라는 메시지를 볼 수 있을 것입니다.

locale/ko/docs/guides/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ layout: docs.hbs
77

88
## General
99

10+
- [시작 가이드](getting-started-guide/)
1011
- [디버깅 - 시작하기](debugging-getting-started/)
1112
- [Node.js 애플리케이션의 간단한 프로파일링](simple-profiling/)
1213
- [Node.js 웹 앱의 도커라이징](nodejs-docker-webapp/)

0 commit comments

Comments
 (0)