https://github.com/shiotomo/mses
Minecraft Server Extension System
https://github.com/shiotomo/mses
docker docker-compose gradle java mybatis mysql springboot
Last synced: 5 months ago
JSON representation
Minecraft Server Extension System
- Host: GitHub
- URL: https://github.com/shiotomo/mses
- Owner: shiotomo
- Created: 2020-01-17T19:51:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-13T16:25:44.000Z (about 5 years ago)
- Last Synced: 2024-10-19T03:01:33.349Z (over 1 year ago)
- Topics: docker, docker-compose, gradle, java, mybatis, mysql, springboot
- Language: Java
- Homepage:
- Size: 250 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mses
## リポジトリについて
[msns](https://github.com/shiotomo/msns)の拡張システムです。
Web上で複数のmsnsを管理することができます。
## 使用技術
- Java 11
- Spring Boot 2.2.3
- Gradle 6.1.1
- MySQL 8.0
- MyBatis
- Flyway
- Thymeleaf
## 環境構築
**application-dev.yml**
`src/main/resources`配下に`application-dev.yml`を以下の内容で設置してください。
{}内は適宜設定してください。
```
spring:
datasource:
url: jdbc:mysql://{host}:3306/mses_develop
username: {username}
password: {password}
driverClassName: com.mysql.cj.jdbc.Driver
```
**Database**
```
create database mses_develop
```
**実行時引数**
```
-Djava.security.egd=file:/dev/./urandom
-Dspring.profiles.active=dev
```
## 本番環境
**application-production.yml**
`src/main/resources`配下に`application-production.yml`を以下の内容で設置してください。
{}内は適宜設定してください。
```
spring:
datasource:
url: jdbc:mysql://{host}:33062/mses_develop
username: {username}
password: {password}
driverClassName: com.mysql.cj.jdbc.Driver
```
**Database**
```
create database mses_production
```
**Docker**
build
```
docker-compose build
```
up
```
docker-compose up
```