An open API service indexing awesome lists of open source software.

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

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
```