soruly / trace.moe

Anime Scene Search by Image

Home Page:https://trace.moe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you create a version for windows 10?

My12123 opened this issue · comments

Could you create a version for windows 10?

invalid mount config for type "bind": field Source must not be empty
2022-12-27_21-17-22

It seems that you have not created the .env file. Have you been following the guide in README?

Yes, I was following.
2022-12-28_10-11-04

I failed to execute the command sudo chown 8983:8983 /home/soruly/mycores

Can you make a video installation guide for windows 10?
@soruly

I'll create a guide for linux when I've time. But windows 10 isn't something I'd like to support. I'm not interested in running docker with WSL2

The application works out of the box using docker-compose.
I have managed to get it working on Windows 11 by sligtly altering the .env file by changing the storage directories.

Steps to get it running:

  1. Create a folder called tracemoe.
  2. Paste the docker-compose.yaml file into the tracemoe folder.
  3. Create the following folders inside tracemoe:
  • mycores
  • mysql
  • trace.moe-hash
  • trace.moe-incoming
  • trace.moe-media
  1. Create the following .env file:
WWW_PORT=3310
API_PORT=3311
MEDIA_PORT=3312
ADMINER_PORT=3313
SOLR_PORT=8983

NEXT_PUBLIC_API_ENDPOINT=http://localhost:3311    # Make sure to use localhost on your local machine.
NEXT_PUBLIC_MEDIA_ENDPOINT=http://localhost:3312  # Make sure to use localhost on your local machine.

WATCH_DIR=trace.moe-incoming/ # These directories point to relative directories to the docker-compose.yaml file
MEDIA_DIR=trace.moe-media/
HASH_DIR=trace.moe-hash/
SOLR_DIR=mycores
MYSQL_DIR=mysql

TRACE_MEDIA_SALT=CHANGEME_MEDIA_SALT
TRACE_API_SALT=CHANGEME_API_SALT
TRACE_API_SECRET=CHANGEME_API_SECRET
MARIADB_ROOT_PASSWORD=CHANGEME_MARIADB_ROOT_PASSWORD
  1. Start the docker compose file: docker-compose up -d
  2. Now you can continue following the instructions for importing files.

I'll create a guide for linux when I've time. But windows 10 isn't something I'd like to support. I'm not interested in running docker with WSL2

WSL2 is now supported.