Skip to content

Commit 80dc2ec

Browse files
Merge pull request SimulatedGREG#689 from wayne-kim/master
Korean documentation translation
2 parents 16fb2b9 + ed7a12a commit 80dc2ec

34 files changed

+1218
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ Take a look at some of the amazing projects built with electron-vue. Want to hav
108108
* [**ImapSync Client**](https://github.com/ridaamirini/ImapSyncClient): It's only an Internet Message Access Protocol Synchronization Client
109109
* [**Hve**](https://github.com/hellohve/hve): A static blog client tool you may like.
110110
* [**MarkdownFox**](https://github.com/lx4r/markdownfox): A simple Markdown viewer with auto update and PDF export.
111-
* [**Cleaver**](https://getcleaver.com/): Cleaver helps you provision servers ready for deploying your web apps with zero downtime - for free!
111+
* [**Cleaver**](https://getcleaver.com/): Cleaver helps you provision servers ready for deploying your web apps with zero downtime - for free!

docs/LANGS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
* [English](en/)
22
* [日本語](ja/)
33
* [中文](cn/)
4+
* [대한민국](ko/)

docs/ko/README.md

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<div align="center">
2+
<br>
3+
<img width="500" src="/docs/images/logo.png" alt="electron-vue">
4+
<br>
5+
<br>
6+
</div>
7+
8+
<p align="center" color="#6a737d">
9+
vue로 구축 된 electron 애플리케이션을 만들기 위한 <span title="최소한의 변경으로 재사용할 수 있는 것">보일러 플레이트</span>
10+
</p>
11+
12+
<div align="center">
13+
14+
[![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com) [![forthebadge](http://forthebadge.com/images/badges/uses-js.svg)](http://forthebadge.com) [![forthebadge](http://forthebadge.com/images/badges/makes-people-smile.svg)](http://forthebadge.com)
15+
</div>
16+
17+
<div align="center">
18+
19+
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
20+
21+
[![Build Status](https://semaphoreci.com/api/v1/simulatedgreg/electron-vue/branches/master/badge.svg)](https://semaphoreci.com/simulatedgreg/electron-vue)
22+
</div>
23+
24+
## 개요
25+
26+
이 프로젝트의 목적은 vue를 사용하여 Electron 앱을 수동으로 설정해야 할 필요성을 없애는 것 입니다. electron-vue은 스캐폴딩(발판)을 위한 `vue-cli`, `vue-loader`이 있는 `webpack`, `electron-packager` 또는 `electron-builder`, `vue-router`, `vuex` 등과 같이 가장 많이 사용되는 플러그인을 사용합니다.
27+
28+
#### Check out the detailed documentation [here](https://simulatedgreg.gitbooks.io/electron-vue/content/index.html).
29+
30+
이 보일러플레이트에서 찾을 수있는 것...
31+
32+
* **단일** `package.json` 설정으로된 기본 프로젝트 구조(다른 프로젝트는 두개 package.json 파일로 구성되어 있습니다.)
33+
* 상세한 [문서](https://simulatedgreg.gitbooks.io/electron-vue/content/)
34+
* [vue-cli](https://github.com/vuejs/vue-cli)를 사용한 프로젝트 스캐폴딩
35+
* Vue 플러그인을 사용한 준비가 되어 있습니다. \([axios](https://github.com/mzabriskie/axios), [vue-electron](https://github.com/SimulatedGREG/vue-electron), [vue-router](https://github.com/vuejs/vue-router), [vuex](https://github.com/vuejs/vuex)\)\*
36+
* 설치된 [vue-devtools](https://github.com/vuejs/vue-devtools) 과 개발을 위한 [devtron](https://github.com/electron/devtron) 도구
37+
* [electron-packager](https://github.com/electron-userland/electron-packager) 또는 [electron-builder](https://github.com/electron-userland/electron-builder)를 사용하여 애플리케이션을 쉽게 패키징 할 수 있는 기능\*
38+
* [electron-builder](https://github.com/electron-userland/electron-builder)를 이용한 자동화 배포를 위한 `appveyor.yml``.travis.yml`\*
39+
* 브라우저 용 웹 출력 기능
40+
* 편리한 [NPM scripts](https://simulatedgreg.gitbooks.io/electron-vue/content/en/npm_scripts.html)
41+
* 핫 모듈 교체로 [webpack](https://github.com/webpack/webpack)[vue-loader](https://github.com/vuejs/vue-loader) 사용
42+
* electron의 메인 프로세스에서 작업 할 때 프로세스 재시작
43+
* [vue-loader](https://github.com/vuejs/vue-loader/)를 사용한 HTML/CSS/JS 전처리기 지원
44+
* 기본적으로 [`stage-0`](https://babeljs.io/docs/plugins/preset-stage-0/)으로된 ES6
45+
* [`babili`](https://github.com/babel/babili)를 사용하여 ES5로 완전히 내릴 필요성을 제거
46+
* ESLint \([`standard`](https://github.com/feross/standard)[`airbnb-base`](https://github.com/airbnb/javascript) 지원\)\*
47+
* \(Karma + Mocha 로\) 단위 테스팅 *
48+
* \(Spectron + Mocha 로\) End-to-end 테스팅 \*
49+
50+
\* vue-cli 스캐폴딩 중 사용자 정의 가능
51+
52+
### 시작하기
53+
54+
이 보일러플레이트는 [vue-cli](https://github.com/vuejs/vue-cli)를 위한 템플릿으로 제작되었으며 최종 스캐폴드 앱을 사용자 정의 할 수 있는 옵션을 포함하고 있습니다. `node@^7` 이상의 노드를 사용해야 합니다. 또한 electron-vue는 의존성을 훨씬 잘 처리하고 `yarn clean`으로 최종 빌드 크기를 줄일 수 있는 [`yarn`](https://yarnpkg.org) 패키지 매니저를 공싱적으로 추천합니다.
55+
56+
```bash
57+
# Install vue-cli and scaffold boilerplate
58+
npm install -g vue-cli
59+
vue init simulatedgreg/electron-vue my-project
60+
61+
# Install dependencies and run your app
62+
cd my-project
63+
yarn # or npm install
64+
yarn run dev # or npm run dev
65+
```
66+
67+
##### Windows 사용자 입니까?
68+
69+
electron 및 기타 의존성에 필요한 모든 빌드 도구가 있는 지 확인하려면 [**A Note for Windows Users**](https://simulatedgreg.gitbooks.io/electron-vue/content/ko/getting_started.html#a-note-for-windows-users)를 확인하세요.
70+
71+
##### Vue 1을 사용하고 싶나요?
72+
73+
`1.0` 브랜치를 가리키기만 하세요. Please note that electron-vue는 `vue@^1`의 사용을 공식적으로 권장하지 않습니다. 따라서 프로젝트 구조, 기능 및 문서는 이러한 변경 사항을 반영합니다.([**legacy documentation**](https://github.com/SimulatedGREG/electron-vue/tree/1.0/docs)).
74+
75+
```bash
76+
vue init simulatedgreg/electron-vue#1.0 my-project
77+
```
78+
79+
### 다음 단계
80+
81+
[documentation](https://simulatedgreg.gitbooks.io/electron-vue/content/)를 면밀히 살펴보세요. 이 문서에서 구성, 프로젝트 구조, 앱 빌드에 대한 유용한 정보가 있습니다. 또한 편리한 [FAQs](https://simulatedgreg.gitbooks.io/electron-vue/content/en/faqs.html) 섹션도 있습니다.
82+
83+
84+
## electron-vue로 만듬
85+
electron-vue로 만들어진 몇 가지 놀라운 프로젝트를 살펴보세요. 여러분의 프로젝트가 목록에 추가를 원하시면 언제든지 pull request를 보내 주시기 바랍니다.
86+
87+
* [**Surfbird**](https://github.com/surfbirdapp/surfbird): A Twitter client built on Electron and Vue
88+
* [**Lulumi-browser**](https://github.com/qazbnm456/lulumi-browser): Lulumi-browser is a light weight browser coded with Vue.js 2 and Electron
89+
* [**Space-Snake**](https://github.com/ilyagru/Space-Snake): A Desktop game built with Electron and Vue.js.
90+
* [**Forrest**](https://github.com/stefanjudis/forrest): An npm scripts desktop client
91+
* [**miikun**](https://github.com/hiro0218/miikun): A Simple Markdown Editor
92+
* [**Dakika**](https://github.com/raj347/Dakika): A minute taking application that makes writing minutes a breeze
93+
* [**Dynamoc**](https://github.com/ieiayaobb/dynamoc): Dynamoc is a GUI client for dynamodb-local, dynalite and AWS dynamodb
94+
* [**Dockeron**](https://github.com/dockeron/dockeron): A dockeron project, built on Electron + Vue.js for Docker
95+
* [**Easysubs**](https://github.com/matiastucci/easysubs): Download subtitles in a very fast and simple way
96+
* [**adminScheduler**](https://github.com/danieltoorani/adminScheduler): An application leveraging electron for cross platform compatibility, Vue.js for lightning fast UI and full-calendar.io to deliver a premium calendar interface.
97+
* [**Backlog**](https://github.com/czytelny/backlog): Simple app for storing TODOs, ideas or backlog items. You can organize them with boards. Sleek flow. Built with Electron + Vue.js + iView
98+
* [**Opshell**](https://github.com/ricktbaker/opshell): Ops tool to make life easier working with AWS instances.
99+
* [**GitHoard**](https://github.com/jojobyte/githoard): Hoard git repositories with ease.
100+
* [**Data-curator**](https://github.com/ODIQueensland/data-curator): Share usable open data.
101+
* [**Bookmark**](https://github.com/mrgodhani/bookmark): Desktop app to manage bookmarked links using Atom Electron and Vue.js
102+
* [**Uber Run**](https://github.com/break-enter/uberrun): Simple automation desktop app to download and organize your tax invoices from Uber.
103+
* [**Netsix**](https://github.com/pulsardev/netsix): Share videos with your friends in a real peer-to-peer manner using WebRTC.
104+
* [**code-notes**](https://github.com/lauthieb/code-notes): A simple code snippet manager for developers built with Electron & Vue.js.
105+
* [**Pomotroid**](https://github.com/Splode/pomotroid): A simple and visually-pleasing Pomodoro timer
106+
* [**MarkText**](https://github.com/marktext/marktext): Mark Text is a realtime Markdown Editor.
107+
* [**vue-design**](https://github.com/L-Chris/vue-design): the best website visualization builder with Vue and Electron
108+
* [**ImapSync Client**](https://github.com/ridaamirini/ImapSyncClient): It's only an Internet Message Access Protocol Synchronization Client
109+
* [**Hve**](https://github.com/hellohve/hve): A static blog client tool you may like.
110+
* [**MarkdownFox**](https://github.com/lx4r/markdownfox): A simple Markdown viewer with auto update and PDF export.
111+
* [**Cleaver**](https://getcleaver.com/): Cleaver helps you provision servers ready for deploying your web apps with zero downtime - for free!

docs/ko/SUMMARY.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Summary
2+
3+
* [Introduction](./README.md)
4+
* [Getting Started](getting_started.md)
5+
* [Project Structure](project_structure.md)
6+
* [File Tree](file-tree.md)
7+
* [Renderer Process](renderer-process.md)
8+
* [Main Process](main-process.md)
9+
* [Webpack Configurations](webpack-configurations.md)
10+
* [Development](development.md)
11+
* [Entry index.html](entry_indexhtml.md)
12+
* [Vue Plugins](vue_accessories.md)
13+
* [NPM Scripts](npm_scripts.md)
14+
* [Using CSS Frameworks](using_css_frameworks.md)
15+
* [Using Pre-Processors](using_pre-processors.md)
16+
* [Using Static Assets](using-static-assets.md)
17+
* [Read & Write Local Files](savingreading-local-files.md)
18+
* [Debugging](debugging-production.md)
19+
* [Building Your App](building_your_app.md)
20+
* [Using electron-packager](using-electron-packager.md)
21+
* [Using electron-builder](using-electron-builder.md)
22+
* [Testing](testing.md)
23+
* [Unit Testing](unittesting.md)
24+
* [End-to-End Testing](end-to-end_testing.md)
25+
* [Meta](meta.md)
26+
* [FAQs](faqs.md)
27+
* [New Releases](new-releases.md)
28+
* [Migration Guide](migration-guide.md)
29+
* [Contributing](contributing.md)
30+

docs/ko/book.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"root": ""
3+
}

docs/ko/building_your_app.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Building Your App
2+
3+
electron-vue supports both [electron-packager](https://github.com/electron-userland/electron-packager) and [electron-builder](https://github.com/electron-userland/electron-builder) to build and distribute your production ready application. Both build tools are backed by the amazing [@electron-userland](https://github.com/electron-userland) community and each have detailed documentation. During `vue-cli` scaffolding you will be asked which builder you will want to use.
4+
5+
## [`electron-packager`](using-electron-packager.md)
6+
7+
If you are new to making electron applications or just need to create simple executables, then `electron-packager` is perfect for your needs.
8+
9+
## [`electron-builder`](using-electron-builder.md)
10+
11+
If you are looking for full installers, auto-update support, CI building with Travis CI & AppVeyor, or automation of rebuilding native node modules, then `electron-builder` is what you will need.
12+

docs/ko/contributing.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Contributing
2+
Wanting to help with this boilerplate? Feel free to submit a pull request. Before getting ready to submit anything, make sure to check out the following...
3+
4+
### JavaScript Standard Style
5+
To ensure all JS follows basic ***style standards*** make sure it follows these [rules](http://standardjs.com/#rules).
6+
7+
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

docs/ko/debugging-production.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Debugging
2+
3+
### Main Process
4+
5+
When running your application in development you may have noticed a message from the `main` process mentioning a remote debugger. Ever since the release of `electron@^1.7.2`, remote debugging over the Inspect API was introduced and can be easily accessed by opening the provided link with Google Chrome or through another debugger that can remotely attach to the process using the default port of 5858, such as Visual Studio Code.
6+
7+
```bash
8+
┏ Electron -------------------
9+
10+
Debugger listening on port 5858.
11+
Warning: This is an experimental feature and could change at any time.
12+
To start debugging, open the following URL in Chrome:
13+
chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:5858/22271e96-df65-4bab-9207-da8c71117641
14+
15+
┗ ----------------------------
16+
```
17+
18+
### Production Builds
19+
20+
###### Notice
21+
22+
Although it is possible to debug your application in production, please do know that production code is minified and highly unreadable compared to what you find during development.
23+
24+
##### `renderer` Process
25+
26+
There isn't much of a big difference here than it is in development. You can simply invoke the dev tools using the [`BrowserWindow` APIs](https://electron.atom.io/docs/api/web-contents/#contentsopendevtoolsoptions). Using the initial electron-vue setup, you can add the following snippet of code inside `src/main/index.js` , just after the `new BrowserWindow` construction, to force the dev tools to open on launch.
27+
28+
```js
29+
mainWindow.webContents.openDevTools()
30+
```
31+
32+
##### `main` Process
33+
34+
Similar to what is mentioned above, you can also attach an external debugger to the `main` process to remotely debug your application. In order to activate the debugger in production you can add the follow snippet after the `app` import inside `src/main/index.js`. Then you can navigate Google Chrome to `chrome://inspect` and get connected.
35+
36+
```js
37+
app.commandLine.appendSwitch('inspect', '5858')
38+
```
39+
40+
41+

docs/ko/development.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Development
2+
3+
### 개발 설정 시작하기
4+
5+
`yarn` 또는 `npm install`을 사용하여 종속성을 설치 한 후, 실행합니다.
6+
7+
```bash
8+
yarn run dev # or npm run dev
9+
```
10+
11+
... 뿜! 실행 중인 electron-vue 앱이 있습니다.
12+
![](../images/landing-page.jpg)
13+
14+
이 보일러플레이트는 쉽게 제거할 수 있는 몇 가지 landing-page components가 있습니다.
15+

docs/ko/end-to-end_testing.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# End-to-End Testing
2+
3+
electron-vue makes use of [Spectron](http://electron.atom.io/spectron/) and the [Mocha](https://mochajs.org/) \(with [Chai](http://chaijs.com/)\) test framework for end-to-end testing. Mocha & Chai APIs, including `expect`, `should`, and `assert`, are made available in global scope.
4+
5+
### Running tests
6+
7+
```bash
8+
# Begin Mocha
9+
npm run e2e
10+
```
11+
12+
##### Note
13+
14+
Before running end-to-end tests, a `npm run pack` is called to create a production build that Spectron can consume during tests.
15+
16+
### File Structure
17+
18+
```
19+
my-project
20+
├─ test
21+
| ├─ e2e
22+
│ │ ├─ specs/
23+
│ │ ├─ index.js
24+
└─ └─ └─ utils.js
25+
```
26+
27+
**For the most part, you can ignore **`index.js`** and focus solely on writing **`specs/`**.**
28+
29+
#### `specs/`
30+
31+
Inside this directory is where actual tests are written. Thanks to the power of `babel-register`, you have full access to ES2015.
32+
33+
#### `index.js`
34+
35+
This file acts as the main entry to Mocha and gathers all tests written in `specs/` for testing.
36+
37+
#### `utils.js`
38+
39+
Here you will find generic functions that could be of use throughout your `specs/`. Base functions include a `beforeEach` and `afterEach` that handle the electron creation/destruction process.
40+
41+
### On the subject of Spectron
42+
43+
Spectron is the official [electron](http://electron.atom.io) testing framework that uses both [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/) and [WebDriverIO](http://webdriver.io/) for manipulating DOM elements.
44+
45+
#### Using WebDriverIO
46+
47+
As stated in the Spectron [documentation](https://github.com/electron/spectron#client), access to [WebDriverIO APIs](http://webdriver.io/api.html) can be accessed through `this.app.client`. Since electron-vue uses Mocha, the context of `this` is shared between `afterEach`, `beforeEach`, and `it`. Because of this, it is important to note that ES2015 arrow functions cannot not be used in certain situations as the context of `this` will be overwritten \([more info](https://mochajs.org/#arrow-functions)\).
48+

0 commit comments

Comments
 (0)