Use docker-compose for run and development #63
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#54 に対する PR である.
docker-compose を使用して redis,goohub,camome,および camome のデータベースをそれぞれ別コンテナとして立ち上げ実行できるようにした.
camome のイメージは Dockerfile から作成している.また,goohub のイメージは DockerHub の nomlab/goohub を用いた.
camome のイメージ作成から起動までの手順を以下に示す.
Rails のルートに
.envというファイルを作成し,上のコマンドで発行されたシークレットキーを以下のように書き込み保存する.また,以下に起動時にマウントされる設定ファイルを示す.
goohub から redis に予定をを送信するには,以下のコマンドを実行する.
設定についての詳細は nomlab/goohub#20 を参照.