Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.
/ kyoto-b-api Public archive

Spring Boot + Kotlin + MySQL(in Dockerコンテナ) で開発しているサーバーサイド

Notifications You must be signed in to change notification settings

0918nobita/kyoto-b-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kyoto-b-api

kyoto-b チームのサーバーサイドについて

開発環境構築

ソースファイルを準備する

# ソースコードを取得する
$ git clone https://github.com/0918nobita/kyoto-b-api.git
$ cd kyoto-b-api

MySQL 仮想環境を準備する

# ./docker-compose.yml からコンテナをビルドする
$ docker-compose build

# コンテナをバックグランドで実行する(1)
$ docker-compose up -d

DBの設定は自動で行われ、mysql/init ディレクトリ内の .sql ファイルが実行されて各テーブルが生成される

mysql/init ディレクトリはコンテナ側の /docker-entrypoint-initdb.d ディレクトリと同期される

(1) キャッシュを消去して新たにビルドし直す場合、 docker-compose up -d --force-recreate --build を実行する

About

Spring Boot + Kotlin + MySQL(in Dockerコンテナ) で開発しているサーバーサイド

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages