Skip to content

Commit

Permalink
Update README.md (#2157)
Browse files Browse the repository at this point in the history
Add missing steps to run media similarity tests locally
  • Loading branch information
danielevalverde authored Oct 11, 2024
1 parent f168367 commit bafef14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ Then publish it to npm. Name the module `@meedan/name-of-my-module` (in its
* Copy `test/config.yml.example` to `test/config.yml` and set the configurations
* Copy `config.js.example` to `test/config.js` and set the configurations
* Copy `config.js.example` to `config.js` and set the configurations
* Additional configuration steps to run media similarity tests
- Start Ngrok: `ngrok http 9000`
- Add the public URL generated by ngrok (e.g., https://c239-152-233-241-217.ngrok-free.app) to the `similarity_media_file_url_host` in the Check API config file: https://github.com/meedan/check-api/blob/develop/config/config.yml.example#L47
* Start the test environment in the [check](https://github.com/meedan/check) repository: `docker-compose -f docker-compose.yml -f docker-test.yml up`
* Start the nginx proxy for `web` and `chromedriver` containers
* `docker-compose exec web service nginx start`
Expand Down

0 comments on commit bafef14

Please sign in to comment.