Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

naver/yobi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

[Deprecated]

์ด ํ”„๋กœ์ ํŠธ๋Š” ๋” ์ด์ƒ ์œ ์ง€๋ณด์ˆ˜ ๋˜๊ฑฐ๋‚˜ ์ง€์›์ด ์ œ๊ณต๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
์ƒˆ๋กœ์šด ์ด์Šˆ๋‚˜ pull request๋ฅผ ๋ฐ›์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

This project will no longer be maintained or supported.
Please do not file issues or pull-requests against this repo.

Yobi fork version์ธ Yona๊ฐ€ ๊ฐœ์ธ ํ”„๋กœ์ ํŠธ๋กœ ์ด์–ด์„œ ์šด์˜๋˜๊ณ  ์žˆ์œผ๋‹ˆ ์ฐธ๊ณ  ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

Build Status

Yobi is a web-based project hosting software.

What is Yobi?

Yobi is a web-based project hosting software. To increase productivity and quality of your software Yobi offers many features including

  • Issue tracker to manage bugs and issues
  • Bulletin board to share documents
  • Git/SVN support embedded
  • Pull-request for collaborative coding

License

Copyright 2015 NAVER Corp. under the Apache License, Version 2.0

How to install

Install from binary

Install

Download the latest version of Yobi from http://yobi.io/yobi.zip and unzip it. If you have wget and unzip:

wget http://yobi.io/yobi.zip
unzip yobi.zip

Start

Go the directory and start Yobi. If the directory is yobi-1.0.0:

cd yobi-1.0.0
bin/yobi

Note: If you are using Windows, run "bin/yobi.bat" instead of "bin/yobi".

Open http://127.0.0.1:9000 with your web browser then you can see the welcome page.

Upgrade

Download the latest version of Yobi and unzip it.

Note: Don't overwrite or delete yobi.h2.db file, repo & uploads directory!

Build from source

Check JDK version

java -version
javac -version

JDK version 7(1.7) or 8(1.8) is required.

Download Play Activator

curl -O http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip

or

wget http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip

or using web browser (for windows)

http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip

Unzip

unzip typesafe-activator-1.2.10-minimal.zip

Change directory to unzipped directory

cd activator-1.2.10-minimal

Download Yobi

Case1. using git client (recommended)

git clone https://github.com/naver/yobi.git

or

Case2. Just download latest stable release If you want to download one of the stable releases, you can download a compressed file by clicking the URL below. And then name it a yobi and unzip it.

https://github.com/naver/yobi/archive/master.zip

Caution! in case2, You might come across troubles when you try to upgrade Yobi.

You can locate your own Yobi directory in any other place. Please note that you must add Play Activator home path to $PATH environment in that case.

Change directory to cloned Yobi directory (or cd to your unzipped file directory)

cd yobi

Run Play Activator

../activator

or (for windows)

..\activator

Required files will be download automatically. In the first time, it may take about 10 min or more.

Type start command in console

start

It will downloaded addtional files and compile sources.

If you want to run Yobi in development mode, use run. You can see more detailed errors and can use dynamic compilation.

Connect with browser

http://127.0.0.1:9000

If you want to change port, check your permission to use 80 port. See 'Options' section for more information.

Upgrade Yobi

Case1. using git client (recommended) In installed directory, just type git update command.

git pull https://github.com/naver/yobi.git master

Case2. download zip file

In installed directory, download latest release file and unzip it.

https://github.com/naver/yobi/archive/master.zip

Be careful! Don't overwrite or delete yobi.h2.db file, repo & uploads directory!

If you are installing Yobi in Windows system, you may need set applyEvolutions.default Java property to true. See 'Options' section for more information

Options

When start yobi, You can specify the home directory to contain data for Yobi. If you want to use /home/user/.yobi as the home directory, set 'yobi.home' property as follows:

bin/yobi -Dyobi.home=/home/user/.yobi

Note: Yobi doesn't load the configuration files from the home directory. If you want to do that, specify the path to the config files as follows:

bin/yobi -Dyobi.home=/home/user/.yobi -Dconfig.file=/home/user/.yobi/conf/application.conf -Dlogger.file=/home/user/.yobi/conf/application-logger.xml

You can also specify Java options with _JAVA_OPTIONS environment variable. If the memory of your system equals to or greater than 4GB, we recommend to start Yobi as follows:

_JAVA_OPTIONS="-Xmx2048m -Xms2048m" activator "start -DapplyEvolutions.default=true -Dhttp.port=9000"

Linux and OSX

When start yobi, you can specify the home directory to contain data, the database file and configiuration files for Yobi. For example, if you want to use /home/user/.yobi as the home directory, set YOBI_HOME as follows:

YOBI_HOME=/home/user/.yobi bin/yobi

You can also specify Java options with _JAVA_OPTIONS environment variable. If the memory of your system equals to or greater than 4GB, we recommend to start Yobi as follows:

_JAVA_OPTIONS="-Xmx2048m -Xms2048m" bin/yobi

Yobi use 9000 port for HTTP connection by default. If you want to use another port, set http.port Java property.

_JAVA_OPTIONS="-Dhttp.port=80" bin/yobi

Windows

When start yobi, you can specify the data directory, the config file, the config file for logger with yobi.home, config.file and logger.file as follows:

SET JAVA_OPTS=-Dyobi.home=/home/user/.yobi -Dconfig.file=/home/user/.yobi/conf/application.conf -Dlogger.file=/home/user/.yobi/conf/application-logger.xml
bin\yobi.bat

You can specify the database file in application.conf as follows:

db.default.url="jdbc:h2:file:/home/nori/.yobi/yobi"

You can also specify Java options with _JAVA_OPTIONS environment variable. If the memory of your system equals to or greater than 4GB, we recommend to start Yobi as follows:

SET JAVA_OPTS=-Xmx2048m -Xms2048m
bin\yobi.bat

Yobi use 9000 port for HTTP connection by default. If you want to use another port, set http.port Java property.

_JAVA_OPTIONS=-Dhttp.port=80
bin\yobi.bat

If you are upgrading Yobi from the previous version, the upgrade may fail with a warning message that says you need migration as follows:

[warn] play - Your production database [default] needs evolutions!

In such case, set applyEvolutions.default Java property to true and restart Yobi.

SET JAVA_OPTS=-DapplyEvolutions.default=true
bin\yobi.bat

For more information about options

See http://www.playframework.com/documentation/2.3.6/Production.

Backup

Copy the below file and directories to another place.

file: yobi.h2.db
directory: repo, uploads



for korean

[English]

Yobi

ํ˜‘์—… ๊ฐœ๋ฐœ ํ”Œ๋žซํผ

Official Site: http://yobi.io

Yobi ์†Œ๊ฐœ

Yobi (๊ตฌ nFORGE)๋Š” ํ˜‘์—… ๊ฐœ๋ฐœ์„ ์œ„ํ•œ ํ”„๋กœ์ ํŠธ ํ˜ธ์ŠคํŒ… SW์ž…๋‹ˆ๋‹ค.

  • ๋ฒ„๊ทธ๋‚˜ ์ด์Šˆ์„ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” ์ด์Šˆ ํŠธ๋ž˜์ปค
  • ๊ฐ์ข… ๋ฌธ์„œ์™€ ์ •๋ณด๋ฅผ ๊ฐ„ํŽธํ•˜๊ฒŒ ๊ณต์œ ํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒŒ์‹œํŒ
  • ์†Œ์Šค์ฝ”๋“œ์˜ ๋ณ€๊ฒฝ๋‚ด์—ญ์„ ํŽธ๋ฆฌํ•˜๊ฒŒ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” ํ˜•์ƒ๊ด€๋ฆฌ ๋„๊ตฌ git/svn ๊ธฐ๋ณธ ๋‚ด์žฅ
  • ํ˜‘์—…๊ฐœ๋ฐœ์„ ์œ„ํ•œ ์ฝ”๋“œ ์ฃผ๊ณ ๋ฐ›๊ธฐ

๋“ฑ์„ ๋น„๋กฏํ•˜์—ฌ ํŒ€ ๊ฐœ๋ฐœ์„ ์œ„ํ•œ ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ์„ ํฌํ•จํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

๋ผ์ด์„ ์Šค

Yobi๋Š” Apache 2.0 ๋ผ์ด์„ ์Šค๋กœ ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค.

์„ค์น˜ํ•˜๊ธฐ

๋‹ค์šด๋ฐ›์•„ ์„ค์น˜ํ•˜๊ธฐ

์„ค์น˜

Yobi ์ตœ์‹  ๋ฒ„์ „์„ http://yobi.io/yobi.zip ์—์„œ ๋‹ค์šด๋ฐ›์•„ ์••์ถ•์„ ํ’‰๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด wget์œผ๋กœ ๋ฐ›์•„์„œ unzip์œผ๋กœ ์••์ถ•์„ ํ‘ผ๋‹ค๋ฉด:

wget http://yobi.io/yobi.zip
unzip yobi.zip

์‹คํ–‰

์••์ถ•์ด ํ’€๋ฆฐ ๋””๋ ‰ํ† ๋ฆฌ๋กœ ์ด๋™ํ•ด์„œ yobi๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ๋””๋ ‰ํ† ๋ฆฌ๊ฐ€ yobi-1.0.0 ์ด๋ผ๋ฉด:

cd yobi-1.0.0
bin/yobi

์ฃผ์˜: ์œˆ๋„์šฐ ์‚ฌ์šฉ์ž๋Š” bin/yobi ๋Œ€์‹  bin/yobi.bat์„ ์‹คํ–‰ํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.

์ด์ œ ์›น ๋ธŒ๋ผ์šฐ์ €๋กœ http://127.0.0.1:9000 ์— ์ ‘์†ํ•˜๋ฉด ํ™˜์˜ ํŽ˜์ด์ง€๋ฅผ ๋ณด์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์—…๊ทธ๋ ˆ์ด๋“œ

์„ค์น˜ํ•  ๋•Œ์™€ ๋˜‘๊ฐ™์ด, ์ตœ์‹  ๋ฒ„์ „์„ ๋‚ด๋ ค๋ฐ›์•„ Yobi๊ฐ€ ์„ค์น˜๋œ ๋””๋ ‰ํ„ฐ๋ฆฌ์— ์••์ถ•ํŒŒ์ผ์„ ํ’‰๋‹ˆ๋‹ค. ์ฃผ์˜์‚ฌํ•ญ! yobi.h2.db ํŒŒ์ผ, repo์™€ uploads ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ์‚ญ์ œํ•˜๊ฑฐ๋‚˜ ๋ฎ์–ด์“ฐ์ง€ ์•Š๋„๋ก ์ฃผ์˜ํ•˜์„ธ์š”!

์†Œ์Šค ์ฝ”๋“œ์—์„œ ๋นŒ๋“œํ•˜๊ธฐ

JDK version ํ™•์ธ

java -version
javac -version

JDK 7(1.7) ํ˜น์€ 8(1.8) ์ด์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Play Activator ๋‚ด๋ ค ๋ฐ›๊ธฐ

curl -O http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip

ํ˜น์€

wget http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip

์›น ๋ธŒ๋ผ์šฐ์ €์—์„œ (์ด๋ฅผํ…Œ๋ฉด, MS์œˆ๋„์šฐ์ฆˆ ์‚ฌ์šฉ์ž์ผ ๊ฒฝ์šฐ)

http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip

์••์ถ•ํ’€๊ธฐ

unzip typesafe-activator-1.2.10-minimal.zip

์••์ถ•์„ ํ‘ผ ๋‹ค์Œ ํ•˜์œ„ ๋””๋ ‰ํ„ฐ๋ฆฌ๋กœ ์ด๋™

cd activator-1.2.10-minimal

Yobi ์†Œ์Šค ๋‚ด๋ ค ๋ฐ›๊ธฐ

case1. git ํด๋ผ์ด์–ธํŠธ๋ฅผ ์ด์šฉํ•œ ๋‹ค์šด๋กœ๋“œ (์ถ”์ฒœ)

git clone https://github.com/naver/yobi.git

case2. ๋‹จ์ˆœํžˆ ์ตœ์‹  ์•ˆ์ •๋ฒ„์ „์„ ๋‚ด๋ ค๋ฐ›๊ณ ์ž ํ•  ๋•Œ๋Š” ์•„๋ž˜ ๋งํฌ๋ฅผ ์ด์šฉํ•ด์„œ ์••์ถ•ํŒŒ์ผ์„ ๋‚ด๋ ค๋ฐ›์€ ๋‹ค์Œ yobi๋ฅผ ํด๋”์ด๋ฆ„์œผ๋กœํ•ด์„œ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค.

git pull https://github.com/naver/yobi.git master

์ฃผ์˜! case2์˜ ๊ฒฝ์šฐ, ์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ํ•  ๋•Œ ๋ฌธ์ œ๊ฐ€ ์ƒ๊ธธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ž„์˜์˜ ์žฅ์†Œ์— Yobi ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ์œ„์น˜์‹œํ‚ฌ ๊ฒฝ์šฐ์—๋Š” activator ์‹คํ–‰ํŒŒ์ผ์ด ์žˆ๋Š” Play Activator ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ $PATH ํ™˜๊ฒฝ๋ณ€์ˆ˜์— ์ถ”๊ฐ€ํ•ด ์ฃผ์„ธ์š”.

clone ๋ฐ›์€ Yobi ๋””๋ ‰ํ„ฐ๋ฆฌ๋กœ ์ด๋™

(ํ˜น์€ ์••์ถ•์„ ํ•ด์ œํ•œ ๋””๋ ‰ํ„ฐ๋ฆฌ๋กœ ์ด๋™)

cd yobi

์ƒ๋‹จ์— ์žˆ๋Š” activator ์‹คํ–‰ํŒŒ์ผ ์‹คํ–‰

../activator

ํ˜น์€ (์œˆ๋„์šฐ ์‚ฌ์šฉ์ž์ผ ๊ฒฝ์šฐ)

..\activator

์‹คํ–‰ํ•˜๋ฉด ํ•„์š”ํ•œ ํŒŒ์ผ๋“ค์„ web์—์„œ ๋‚ด๋ ค๋ฐ›์Šต๋‹ˆ๋‹ค. ์ฒซ ์‹คํ–‰์‹œ ๋„คํŠธ์›Œํฌ ์ƒํ™ฉ์— ๋”ฐ๋ผ 10์—ฌ๋ถ„ ๊ฐ€๊นŒ์ด ์†Œ์š”๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ฝ˜์†”์ด ๋œจ๋ฉด start ๋ช…๋ น์–ด๋กœ ๊ธฐ๋™

start

์ถ”๊ฐ€๋กœ ํ•„์š”ํ•œ ํŒŒ์ผ๋“ค์„ web์—์„œ ๋‚ด๋ ค๋ฐ›์€ ๋‹ค์Œ ์†Œ์Šค ํŒŒ์ผ๋“ค์„ ์ปดํŒŒ์ผ ํ›„ ์šด์˜ ๋ชจ๋“œ(production mode)๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ๊ฐœ๋ฐœ ๋ชจ๋“œ(development mode)๋กœ ์‹คํ–‰ํ•˜๊ณ ์ž ํ•  ๊ฒฝ์šฐ์—๋Š” start ๋ช…๋ น์–ด ๋Œ€์‹ ์— run ๋ช…๋ น์–ด๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

์ฃผ์˜์‚ฌํ•ญ: ์„ค์ • ํŒŒ์ผ ๋ฐ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ธฐ๋ณธ์ ์œผ๋กœ target/universal/stage ๋””๋ ‰ํ† ๋ฆฌ์— ์ €์žฅ๋ฉ๋‹ˆ๋‹ค. ์ด ๋””๋ ‰ํ† ๋ฆฌ๋Š” activator clean ์‹คํ–‰์‹œ ๋ชจ๋‘ ์‚ญ์ œ๋˜๋ฏ€๋กœ, ์•„๋ž˜์˜ ์˜ต์…˜ ์„ค์ •๋ฐฉ๋ฒ•์„ ๋ณด๊ณ  ๋ฐ์ดํ„ฐ๊ฐ€ ์ €์žฅ๋  ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์„ค์ •ํ•˜์‹œ๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค

๋ธŒ๋ผ์šฐ์ €๋กœ ์ ‘์†

http://127.0.0.1:9000

80 ํฌํŠธ ๋“ฑ์œผ๋กœ ํฌํŠธ๋ฅผ ๋ณ€๊ฒฝํ•˜๊ณ  ์‹ถ์„ ๊ฒฝ์šฐ์—๋Š” ํ•ด๋‹น ํฌํŠธ๊ฐ€ ์‚ฌ์šฉ๊ฐ€๋Šฅํ•œ์ง€ ํ™•์ธ ํ•œ ๋‹ค์Œ 80 ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ณ„์ •์œผ๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. ํฌํŠธ ๋ณ€๊ฒฝ ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ๋Š” '์˜ต์…˜' ๋ฌธ๋‹จ์„ ์ฝ์–ด์ฃผ์„ธ์š”.

์—…๊ทธ๋ ˆ์ด๋“œ ํ•˜๊ธฐ

case1. git ํด๋ผ์ด์–ธํŠธ๋ฅผ ์ด์šฉ (์ถ”์ฒœ) ์„ค์น˜๋œ ๋””๋ ‰ํ„ฐ๋ฆฌ์—์„œ, ์•„๋ž˜์™€ ๊ฐ™์€ git ๋ช…๋ น์–ด๋ฅผ ์ด์šฉํ•ฉ๋‹ˆ๋‹ค

git pull https://github.com/naver/yobi.git master

case2. ์••์ถ•ํŒŒ์ผ์„ ๋‚ด๋ ค๋ฐ›์„ ๊ฒฝ์šฐ

์„ค์น˜๋œ ๋””๋ ‰ํ„ฐ๋ฆฌ์—์„œ, ์ตœ์‹  ๋ฆด๋ฆฌ์ฆˆ์˜ ์••์ถ•ํŒŒ์ผ์„ ๋‚ด๋ ค๋ฐ›์•„ Yobi๊ฐ€ ์„ค์น˜๋œ ๋””๋ ‰ํ„ฐ๋ฆฌ์— ์••์ถ•ํŒŒ์ผ์„ ํ’‰๋‹ˆ๋‹ค.

https://github.com/naver/yobi/archive/master.zip

์ฃผ์˜์‚ฌํ•ญ! yobi.h2.db ํŒŒ์ผ, repo์™€ uploads ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ์‚ญ์ œํ•˜๊ฑฐ๋‚˜ ๋ฎ์–ด์“ฐ์ง€ ์•Š๋„๋ก ์ฃผ์˜ํ•˜์„ธ์š”!

์œˆ๋„์—์„œ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๋Š” ๊ฒฝ์šฐ, -DapplyEvolutions.default=true ์„ค์ •์ด ํ•„์š”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๊ฒƒ์€ ์•„๋ž˜ ์˜ต์…˜ ์„ค์ • ์„ค๋ช…์„ ๋ณด์„ธ์š”

์˜ต์…˜

Linux, OSX์˜ ๊ฒฝ์šฐ

YOBI_HOME ์†์„ฑ์„ ํ†ตํ•ด Yobi๊ฐ€ ๋ฐ์ดํ„ฐ, ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค, ์„ค์ •ํŒŒ์ผ์„ ๋ถˆ๋Ÿฌ์˜ค๊ณ  ์ €์žฅํ•  ํ™ˆ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, /home/user/.yobi๋ฅผ ํ™ˆ ๋””๋ ‰ํ† ๋ฆฌ๋กœ ์‚ฌ์šฉํ•˜๋ ค๋ฉด Yobi๋ฅผ ์‹œ์ž‘ํ•  ๋•Œ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.

YOBI_HOME=/home/user/.yobi bin/yobi

_JAVA_OPTIONS ํ™˜๊ฒฝ๋ณ€์ˆ˜๋ฅผ ์ด์šฉํ•ด ์ž๋ฐ” ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์ง€์ •ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์‹œ์Šคํ…œ ๋ฉ”๋ชจ๋ฆฌ๊ฐ€ 4๊ธฐ๊ฐ€ ์ด์ƒ์ด๋ผ๋ฉด, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ต์…˜์œผ๋กœ ์‹คํ–‰ํ•˜๋Š”๊ฑธ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.

_JAVA_OPTIONS="-Xmx2048m -Xms2048m" bin/yobi

๊ธฐ๋ณธ์ ์œผ๋กœ 9000๋ฒˆ ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์ง€๋งŒ, ๋‹ค๋ฅธ ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด http.port ์ž๋ฐ” ํ™˜๊ฒฝ๋ณ€์ˆ˜๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

_JAVA_OPTIONS="-Dhttp.port=80" bin/yobi

Windows์˜ ๊ฒฝ์šฐ

Yobi๋ฅผ ์‹œ์ž‘ํ•  ๋•Œ, ๋ฐ์ดํ„ฐ ๋””๋ ‰ํ† ๋ฆฌ, ์„ค์ •ํŒŒ์ผ, ๋กœ๊ทธ ์„ค์ •ํŒŒ์ผ์˜ ์œ„์น˜๋ฅผ ๊ฐ๊ฐ yobi.home, config.file, logger.file ์ž๋ฐ” ํ”„๋กœํผํ‹ฐ๋กœ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

SET JAVA_OPTS=-Dyobi.home=/home/user/.yobi -Dconfig.file=/home/user/.yobi/conf/application.conf -Dlogger.file=/home/user/.yobi/conf/application-logger.xml
bin\yobi.bat

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๊ฐ€ ์ €์žฅ๋  ํŒŒ์ผ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์ด application.conf ์„ค์ • ํŒŒ์ผ์—์„œ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

db.default.url="jdbc:h2:file:/home/nori/.yobi/yobi"

_JAVA_OPTIONS ํ™˜๊ฒฝ๋ณ€์ˆ˜๋ฅผ ์ด์šฉํ•ด ์ž๋ฐ” ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์ง€์ •ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์‹œ์Šคํ…œ ๋ฉ”๋ชจ๋ฆฌ๊ฐ€ 4๊ธฐ๊ฐ€ ์ด์ƒ์ด๋ผ๋ฉด, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ต์…˜์œผ๋กœ ์‹คํ–‰ํ•˜๋Š”๊ฑธ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.

SET JAVA_OPTS=-Xmx2048m -Xms2048m
bin\yobi.bat

๊ธฐ๋ณธ์ ์œผ๋กœ 9000๋ฒˆ ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์ง€๋งŒ, ๋‹ค๋ฅธ ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด http.port ์ž๋ฐ” ํ™˜๊ฒฝ๋ณ€์ˆ˜๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

_JAVA_OPTIONS=-Dhttp.port=80
bin\yobi.bat

์—…๊ทธ๋ ˆ์ด๋“œ๋ฅผ ํ•˜๋Š” ๊ฒฝ์šฐ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์Šคํ‚ค๋งˆ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜์ด ํ•„์š”ํ•˜๋‹ค๋Š” ๊ฒฝ๊ณ  ๋ฉ”์‹œ์ง€์™€ ํ•จ๊ป˜ ์‹คํ–‰์ด ๋˜์ง€ ์•Š๋Š” ์ƒํ™ฉ์„ ๊ฒช์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

[warn] play - Your production database [default] needs evolutions!

๊ทธ๋Ÿฐ ๊ฒฝ์šฐ์—๋Š” ์ž๋™์œผ๋กœ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜์ด ๋˜๋„๋ก ๋‹ค์Œ๊ณผ ๊ฐ™์ด applyEvolutions.default ์ž๋ฐ” ํ”„๋กœํผํ‹ฐ๋ฅผ true๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

SET JAVA_OPTS=-DapplyEvolutions.default=true
bin\yobi.bat

์˜ต์…˜์— ๋Œ€ํ•œ ๋” ์ž์„ธํ•œ ์„ค๋ช…

http://www.playframework.com/documentation/2.3.6/Production ๋ถ€๋ถ„์„ ํ™•์ธํ•ด ์ฃผ์„ธ์š”.

๋ฐฑ์—…ํ•˜๊ธฐ

ํŠน๋ณ„ํžˆ ์™ธ๋ถ€ DB๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š”๋‹ค๋ฉด ์•„๋ž˜ ๋‚ด์šฉ์„ ์ž˜ ๋ฐฑ์—…ํ•ด์„œ ๋ณด๊ด€ํ•ด ์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

file: yobi.h2.db
directory: repo, uploads