- ブラウザ上で使うよ
- 画像にタグ付けできるよ
- 🐘PostgreSQLに検索してもらいます
- データベース接続用のユーザーを作成します。パスワードは
imageuser
で$ createuser -U postgres imageuser
- データベースを作ります
$ createdb -U postgres imagedb
- データベースのテーブルや権限を設定します
$ psql -U postgres imagedb < imagedb_dump.sql
- 画像を登録します(このツールは未完成)
$ python3 importer.py 登録したいフォルダのパス
- Webサーバーを起動します
$ python3 image_searcher.py
index.html
を開きます