- web front end
- server application play for scala
- vr
- ar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Set up oracle linux 7.2 with JRE 8 | |
# Pull base image | |
FROM oraclelinux:7.2 | |
MAINTAINER JB <jungbin.kim@letsee.io> | |
ENV JRE_VERSION 8u151 | |
ENV JRE_BUILD_NUM b12 |
JVM 언어를 위한 Configuration 라이브러리.Github
play framework에서는 보통 conf/application.conf
경로 상에 존재하는데 반해,
sbt 프로젝트 상에서는 src/main/resources
라는 경로에 application.conf를 만들어야 처리할 수 있다.
다른 경로 상에 다른 이름으로 놓으면 별도의 처리를 통해 사용할 수 있다.
라이브러리 설정은 다음과 같음
- build.sbt
Data Access Object 실질적으로 DB에 접근하는 객체
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
[ -z "$1" ] && echo "Usage: $ ./crop360Image {image path} " && exit 1 | |
ImagePath="$1" | |
ImageWidth=$(sips -g pixelWidth $ImagePath | tail -n1 | cut -d" " -f4) | |
ImageHeight=$(sips -g pixelHeight $ImagePath | tail -n1 | cut -d" " -f4) | |
echo $ImageWidth | |
echo $ImageHeight | |
OutputPath="./crop360" | |
if [ ! -d $OutputPath ] |
SBT Native Packager를 사용하여 쉽게 sbt 프로젝트를 패키징할 수 있었다.
SBT Native Packager의 Github 설치 가이드와 Build 가이드를 참고하면 패키징하고자하는 sbt 프로젝트에 쉽게 적용할 수 있다.
project/plugins.sbt
파일 추가 및 다음 내용 적용// for autoplugins addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.0")
build.sbt
에 원하는 plugin 사용 가능하도록 추가.
OlderNewer