Skip to content

Commit 8fabfaa

Browse files
committed
Recreate container to set up xapi_stmt_gen
1 parent 22775a6 commit 8fabfaa

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

README.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,9 @@ image::learninglocker/new-xapi-store-client.png[align=center]
143143

144144
<<<
145145
=== xAPIステートメント変換スクリプトの設定
146-
`xapi_stmt_gen` コンテナに接続する。
147-
148-
----
149-
$ docker exec -it xapi_stmt_gen bash
150-
----
151-
152146
スクリプトの設定ファイルを編集する。
153147

154-
./usr/local/src/xapi_stmt_gen/config/app.js
148+
.xapi_stmt_gen/xapi_stmt_gen/config/app.js
155149
[source, javascript]
156150
----
157151
const config = {
@@ -183,6 +177,13 @@ $ docker inspect learninglocker
183177
...
184178
----
185179

180+
設定ファイルの変更を `xapi_stmt_gen` コンテナに反映する。
181+
182+
----
183+
$ docker-compose build xapi_stmt_gen
184+
$ docker-compose up -d xapi_stmt_gen
185+
----
186+
186187
<<<
187188
=== xAPIステートメントの生成
188189
Moodle上での学習活動を実施した後、以下のコマンドでMoodleログをxAPIステートメントに変換する。

0 commit comments

Comments
 (0)