Skip to content

【水球軟體學院:烏托邦計畫】一起合力建立一個高效率的自動化新型態軟體社群啊!!!

Notifications You must be signed in to change notification settings

Mirai1129/WSA-Utopia-Discord-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quality Gate Status Discord invite

環境準備

  • Java 17
  • Maven (use the maven wrapper)

可以透過下列指令檢查使用的是否為 java 17 版本

> java --version
openjdk 17.0.4 2022-07-19
OpenJDK Runtime Environment Temurin-17.0.4+8 (build 17.0.4+8)
OpenJDK 64-Bit Server VM Temurin-17.0.4+8 (build 17.0.4+8, mixed mode, sharing)

> ./mvnw --version
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /opt/homebrew/Cellar/maven/3.8.6/libexec
Java version: 18.0.2, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/18.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: zh_TW_#Hant, platform encoding: UTF-8
OS name: "mac os x", version: "13.0.1", arch: "aarch64", family: "mac"

如何在本地環境執行專案

環境變數

環境變數 description
BOT_TOKEN Discord bot token
CHATGPT_TOKEN OpenAI API key
DEPLOYMENT_ENV [beta, prod]

如何設定環境變數 export {環境變數}=..

範例

export DEPLOYMENT_ENV=beta

執行

打包 jar

> ./mvnw clean package

執行

java -jar main/target/main-1.0-SNAPSHOT-jar-with-dependencies.jar

更多相關資訊請參考 烏托邦 WIKI

烏托邦功勛榜

貢獻 feature 前請先參考 How to contribute a new feature?

About

【水球軟體學院:烏托邦計畫】一起合力建立一個高效率的自動化新型態軟體社群啊!!!

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 99.9%
  • Dockerfile 0.1%