diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2021-10-16 17:12:20 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-16 17:12:20 +0900 |
| commit | 03b04acb1628e710dec1d768d74aedfc0a4f1ccd (patch) | |
| tree | 066ed0621b291413d887350efdedfac3585136e5 /CONTRIBUTING.md | |
| parent | remove unnecessary imports (#7871) (diff) | |
| download | sharkey-03b04acb1628e710dec1d768d74aedfc0a4f1ccd.tar.gz sharkey-03b04acb1628e710dec1d768d74aedfc0a4f1ccd.tar.bz2 sharkey-03b04acb1628e710dec1d768d74aedfc0a4f1ccd.zip | |
テスト用コンテナの調整 (#7838)
* Tune test container
* docs
* fix cp config
* doc
* a
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 06154f1f44..f5e0eece1f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -57,6 +57,17 @@ If your language is not listed in Crowdin, please open an issue. - Test codes are located in [`/test`](/test). ### Run test +Create a config file. +``` +cp test/test.yml .config/ +``` +Prepare DB/Redis for testing. +``` +docker-compose -f test/docker-compose.yml up +``` +Alternatively, prepare an empty (data can be erased) DB and edit `.config/test.yml`. + +Run all test. ``` npm run test ``` |