This is a sample for plugins of Abilists
이 샘플은 새 플러그인을 개발하기 쉽게 해주는 소스코드 입니다.
- More information about Freemarker.
- More information about Spring4.
- More information about Mybatis3
- More information about Gradle3.3.
- 데이터 입력
- 데이터 습득
- 데이터 갱신
- 데이터 삭제
Git를 통해 다운로드 하기
$ git clone https://github.com/abilists/plugin_sample.git
새 플러그용 테이블을 Abilists데이터 베이스에 생성하기
- 샘플 테이블을 Abilists데이타 베이스에 등록하기
- InitiativeServiceImplTest.java을 선택하고 오늘쪽 마우스 버튼을 클릭
- Run as > jUnit Test을 선택합니다.
먼저 아래의 유틸리티를 Clone을 해서 Local에 설치할 필요가 있습니다.
Local 시스템에서 설치합니다.
$ gradle install
개발자 환경에서 실행하기
$ gradle jettyRun
확인하는 URL
http://localhost:9005/plugins/sample/index
http://localhost:9005/admin/plugins/sample/index
Product버전으로 빌드해서 Jar파일 생성하기
$ gradle -b ./probuild.gradle buildJar
빌드된 Jar파일이 있는 곳
/plugin_sample/build/libs/plugin_sample.jar
실행에 에러가 발생하면, Clean빌드를 하시고 다시 실행해 주시기 바랍니다.
$ gradle clean
$ gradle jettyRun
This software is licensed under the MIT © Abilists.