
README: Add the description for yobi.home
@c6ffaadafe5e3de6e5e250f8a1b92075281ebcab
--- README.md
+++ README.md
... | ... | @@ -122,11 +122,6 @@ |
122 | 122 |
|
123 | 123 |
If you want to run Yobi in development mode, use **run**. You can see more detailed errors and can use dynamic compilation. |
124 | 124 |
|
125 |
-Also, you can configure start options. |
|
126 |
-If your system's memory is over than 4G, we recommend to use follow options. |
|
127 |
- |
|
128 |
- _JAVA_OPTIONS="-Xmx2048m -Xms1024m" activator "start -DapplyEvolutions.default=true -Dhttp.port=9000" |
|
129 |
- |
|
130 | 125 |
#### Connect with browser |
131 | 126 |
|
132 | 127 |
http://127.0.0.1:9000 |
... | ... | @@ -150,7 +145,21 @@ |
150 | 145 |
|
151 | 146 |
** Be careful! Don't overwrite or delete `yobi.h2.db` file, `repo` & `uploads` directory! ** |
152 | 147 |
|
153 |
-#### Backup |
|
148 |
+### Options |
|
149 |
+ |
|
150 |
+When start yobi, You can specify the home directory that data and configuration |
|
151 |
+to read from and store into. If you want to use `/home/user/.yobi` as the home |
|
152 |
+directory, set 'yobi.home' property as follows: |
|
153 |
+ |
|
154 |
+ bin/yobi -Dyobi.home=/home/user/.yobi |
|
155 |
+ |
|
156 |
+You can also specify Java options with `_JAVA_OPTIONS` environment variable. If |
|
157 |
+the memory of your system equals to or greater than 4GB, we recommend to start |
|
158 |
+Yobi as follows: |
|
159 |
+ |
|
160 |
+ _JAVA_OPTIONS="-Xmx2048m -Xms1024m" activator "start -DapplyEvolutions.default=true -Dhttp.port=9000" |
|
161 |
+ |
|
162 |
+### Backup |
|
154 | 163 |
|
155 | 164 |
Copy the below file and directories to another place. |
156 | 165 |
|
... | ... | @@ -282,12 +291,6 @@ |
282 | 291 |
추가로 필요한 파일들을 web에서 내려받은 다음 소스 파일들을 컴파일 후 운영 모드(production mode)로 실행합니다. |
283 | 292 |
개발 모드(development mode)로 실행하고자 할 경우에는 **start** 명령어 대신에 **run** 명령어로 실행합니다. |
284 | 293 |
|
285 |
-시작 옵션은 조정가능합니다. 만약 시스템 메모리가 4기가 이상이라면 |
|
286 |
-아래 옵션으로 실행하는걸 권장합니다. |
|
287 |
- |
|
288 |
- _JAVA_OPTIONS="-Xmx2048m -Xms1024m" activator "start -DapplyEvolutions.default=true -Dhttp.port=9000" |
|
289 |
- |
|
290 |
- |
|
291 | 294 |
#### 브라우저로 접속 |
292 | 295 |
|
293 | 296 |
http://127.0.0.1:9000 |
... | ... | @@ -310,6 +313,18 @@ |
310 | 313 |
|
311 | 314 |
**주의사항! `yobi.h2.db` 파일, `repo`와 `uploads` 디렉터리를 삭제하거나 덮어쓰지 않도록 주의하세요!** |
312 | 315 |
|
316 |
+### 옵션 |
|
317 |
+ |
|
318 |
+Yobi가 파일을 불러오고 저장할 홈 디렉토리를 `yobi.home` 속성을 통해 지정할 |
|
319 |
+수 있습니다. 예를 들어, /home/user/.yobi를 홈 디렉토리로 사용하려면 Yobi를 |
|
320 |
+시작할 때 다음과 같이 yobi.home 프로퍼티를 지정합니다. |
|
321 |
+ |
|
322 |
+ bin/yobi -Dyobi.home=/home/user/.yobi |
|
323 |
+ |
|
324 |
+`_JAVA_OPTIONS` 환경변수를 이용해 자바 옵션을 지정할 수도 있습니다. 시스템 |
|
325 |
+메모리가 4기가 이상이라면, 다음과 같은 옵션으로 실행하는걸 권장합니다. |
|
326 |
+ |
|
327 |
+ _JAVA_OPTIONS="-Xmx2048m -Xms1024m" activator "start -DapplyEvolutions.default=true -Dhttp.port=9000" |
|
313 | 328 |
|
314 | 329 |
### 백업하기 |
315 | 330 |
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?