1
0
mirror of https://github.com/simon987/imhashdb.git synced 2025-04-09 13:46:48 +00:00

Update readme

This commit is contained in:
simon987 2021-03-28 11:42:10 -04:00
parent ed1972ca54
commit 997f03facb

@ -1,7 +1,14 @@
# imhashdb
### Requirements
1. PostgreSQL
1. Redis
1. [pg_hamming](https://github.com/simon987/pg_hamming)
1. [fastimagehash](https://github.com/simon987/fastimagehash)
### Setup (development):
1. Install PostgreSQL 12
1. Install [pg_hamming](https://github.com/simon987/pg_hamming)
1. Create a database called `imhashdb` (`su postgres; createdb imhashdb`)
1. Install redis-server
1. Install [fastimagehash](https://github.com/simon987/fastimagehash)
1. Start an instance of `imhashdb hasher` (See `./imhashdb --help` for CLI options)
1. Start an image crawler (e.g. `reddit_feed`), with `ARC_LIST=imhash,...`
1. Start an instance of `imhashdb web`
1. Start the development web server [imhashdb-frontend](https://github.com/simon987/imhashdb-frontend)
- Run `npm run start`