innovationacademy-kr / swlabs-helper

helper finder
http://helper.42seoul.io
MIT License
8 stars 5 forks source link
java jpa spring spring-boot

42 helper

Running local server

Java 설치

JDK 1.8 버전을 사용합니다.

DB 설치

API 키 발급

export SECRET42={발급받은 UID}
export SECRET42={발급받은 SECRET}

Mail 연동

export HELPER42_MAIL_ADDRESS={전송 메일 주소}
export HELPER42_MAIL_PASSWORD=전송 메일 계정 비밀번호}

run spring-boot server

./mvnw spring-boot:run

Server deployment

Database setup

Setup scheme

mysql -u [YOUR_USERNAME] -p [YOUR_DATABASE] < src/main/resources/db/mariadb/schema.sql

Environment Setup

UID42
SECRET42
HELPER42_DB_USERNAME_RELEASE
HELPER42_DB_PASSWORD_RELEASE
HELPER42_DB_NAME_RELEASE

Run server

Java

Start server

./mvnw package
cd ./target
java -jar helper-0.0.1-SNAPSHOT.jar --spring.config.location=classpath:/application.properties --spring.profiles.active=release

deploy script

Contribution guidess

License

42 helper는 MIT 라이센스를 따릅니다.