update README with instructions for test data

This commit is contained in:
groovecoder 2018-05-16 10:03:50 -05:00
Родитель b1580b2d49
Коммит 9803df01d6
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -51,6 +51,16 @@ for more background, objectives, key use cases.
2. Visit the `test.html` page at [localhost:6060/test.html](http://localhost:6060/test.html)
#### Test Data
To populate the database with test data, use these scripts in `scripts/`:
* `load-breaches.js` loads breaches from HIBP into the database
* `add-breached-emails.js` adds some breached email records for
`test[1-3]@test.com` users
Both scripts have `--help` arguments for usage help.
#### Emails
The included `.env-dist` sets `DEBUG_DUMMY_SMTP=1` which disables emails.