|
1 |
| -# pytorch.org site |
| 1 | +# 파이토치 한국 사용자 모임 홈페이지 |
2 | 2 |
|
3 |
| -[https://pytorch.org](https://pytorch.org) |
| 3 | +## 개요 |
4 | 4 |
|
5 |
| -A static website built in [Jekyll](https://jekyllrb.com/) and [Bootstrap](https://getbootstrap.com/) for [PyTorch](https://pytorch.org/), and its tutorials and documentation. |
| 5 | +[파이토치 한국 사용자 모임 홈페이지](https://pytorch.kr) 저장소에 오신 것을 환영합니다! \ |
| 6 | +파이토치 한국 사용자 모임 홈페이지는 [PyTorch 공식 홈페이지 저장소](https://github.com/pytorch/pytorch.github.io)를 복제하여 만들었습니다. \ |
| 7 | +홈페이지 빌드를 위해 [Jekyll](https://jekyllrb.com/)과 [Bootstrap](https://getbootstrap.com/) 등을 사용하고 있습니다. |
6 | 8 |
|
7 |
| -## Prerequisites |
| 9 | +## 빌드하기 |
8 | 10 |
|
9 |
| -Install the following packages before attempting to setup the project: |
| 11 | +이 저장소를 빌드하기 위해 필요한 절차를 안내합니다. |
| 12 | + |
| 13 | +### 필요 도구 |
| 14 | + |
| 15 | +이 저장소를 빌드하기 위해서는 아래 도구들의 필요합니다. |
10 | 16 |
|
11 | 17 | - [rbenv](https://github.com/rbenv/rbenv)
|
12 | 18 | - [ruby-build](https://github.com/rbenv/ruby-build)
|
13 | 19 | - [nvm](https://github.com/creationix/nvm)
|
14 | 20 |
|
15 |
| -On OSX, you can use: |
| 21 | +macOS에서 [homebrew](https://brew.sh/)를 사용하신다면, 아래 명령어로 설치하실 수 있습니다: |
16 | 22 |
|
| 23 | +```sh |
| 24 | + brew install rbenv ruby-build nvm |
17 | 25 | ```
|
18 |
| -brew install rbenv ruby-build nvm |
19 |
| -``` |
20 |
| - |
21 |
| -## Setup |
22 |
| - |
23 |
| -#### Install required Ruby version: |
24 | 26 |
|
25 |
| -``` |
26 |
| -#### You only need to run these commands if you are missing the needed Ruby version. |
| 27 | +### 빌드 절차 |
27 | 28 |
|
28 |
| -rbenv install `cat .ruby-version` |
29 |
| -gem install bundler -v 1.16.3 |
30 |
| -rbenv rehash |
| 29 | +#### ruby 및 bundler, 필요 패키지 설치 |
31 | 30 |
|
32 |
| -#### |
| 31 | +아래 명령어로 이 저장소에서 필요로 하는 ruby 버전에 맞춰 ruby와 bundler, 필요 패키지들을 설치합니다. |
33 | 32 |
|
34 |
| -bundle install |
35 |
| -rbenv rehash |
| 33 | +```sh |
| 34 | + rbenv install `cat .ruby-version` # ruby 설치 |
| 35 | + gem install bundler -v 2.2.17 # bundler 설치 |
| 36 | + rbenv rehash |
| 37 | + bundle install # 필요 패키지 설치 |
| 38 | + rbenv rehash |
36 | 39 | ```
|
37 | 40 |
|
38 |
| -#### Install required Node version |
| 41 | +#### node.js 및 필요 패키지 설치 |
39 | 42 |
|
40 |
| -``` |
41 |
| -nvm install |
42 |
| -nvm use |
43 |
| -``` |
| 43 | +아래 명령어로 이 저장소에서 필요로 하는 node.js 버전에 맞춰 node.js 및 yarn, 필요 패키지들을 설치합니다. |
44 | 44 |
|
45 |
| -#### Install Yarn |
46 |
| - |
47 |
| -``` |
48 |
| -brew install yarn --ignore-dependencies |
49 |
| -yarn install |
| 45 | +```sh |
| 46 | + nvm install # node.js 설치 |
| 47 | + nvm use # node.js 버전 적용 |
| 48 | + npm install yarn # 패키지 도구 설치 |
| 49 | + yarn install # 필요 패키지 설치 |
50 | 50 | ```
|
51 | 51 |
|
52 |
| -## Local Development |
| 52 | +#### 홈페이지 빌드 |
53 | 53 |
|
54 |
| -To run the website locally for development: |
| 54 | +아래 명령어로 jekyll을 사용하여 빌드합니다. 빌드 결과물은 `./_site` 디렉토리에 저장됩니다. |
55 | 55 |
|
| 56 | +```sh |
| 57 | + make build |
56 | 58 | ```
|
57 |
| -make serve |
58 |
| -``` |
59 |
| - |
60 |
| -Then navigate to [localhost:4000](localhost:4000). |
61 |
| - |
62 |
| -Note the `serve` task is contained in a `Makefile` in the root directory. We are using `make` as an alternative to the standard `jekyll serve` as we want to run `yarn`, which is not included in Jekyll by default. |
63 |
| - |
64 |
| -### Building the Static Site |
65 |
| - |
66 |
| -To build the static website from source: |
67 |
| - |
68 |
| -``` |
69 |
| -make build |
70 |
| -``` |
71 |
| - |
72 |
| -This will build the static site at `./_site`. This directory is not tracked in git. |
73 | 59 |
|
74 |
| -## Deployments |
| 60 | +## 배포하기 |
75 | 61 |
|
76 |
| -The website is hosted on [Github Pages](https://pages.github.com/) at [https://pytorch.org](https://pytorch.org). |
| 62 | +[파이토치 한국 사용자 모임 홈페이지](https://pytorch.kr)는 [GitHub Pages](https://pages.github.com/)를 사용합니다. \ |
| 63 | +홈페이지는 [GitHub Actions](https://docs.github.com/en/actions)를 사용하여 자동으로 빌드 및 `gh-pages` 브랜치에 배포됩니다. |
77 | 64 |
|
78 |
| -To deploy changes, merge your latest code into the `site` branch. A build will be automatically built and committed to the `master` branch via a CircleCI job. |
79 | 65 |
|
80 |
| -To view the status of the build visit [https://circleci.com/gh/pytorch/pytorch.github.io](https://circleci.com/gh/pytorch/pytorch.github.io). |
| 66 | +## 기여하기 |
81 | 67 |
|
82 |
| -## Contributing to PyTorch Documentation and Tutorials |
83 |
| -* You can find information about contributing to PyTorch documentation in the |
84 |
| -PyTorch repo [README.md](https://github.com/pytorch/pytorch/blob/master/README.md) file. |
85 |
| -* Information about contributing to PyTorch Tutorials can be found in the |
86 |
| -tutorials [README.md](https://github.com/pytorch/tutorials/blob/master/README.md). |
87 |
| -* Additional contribution information can be found in [PyTorch CONTRIBUTING.md](https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md). |
| 68 | +홈페이지에서 잘못된 내용 또는 변경 / 추가하고 싶은 내용이 있다면 이 저장소에 기여하실 수 있습니다. \ |
| 69 | +[기여하기](CONTRIBUTING.md) 문서를 참고해주세요. |
0 commit comments