trace.moe icon indicating copy to clipboard operation
trace.moe copied to clipboard

Could you create a version for windows 10?

Open My12123 opened this issue 3 years ago • 8 comments

Could you create a version for windows 10?

My12123 avatar Dec 24 '22 07:12 My12123

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

My12123 avatar Dec 27 '22 18:12 My12123

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

soruly avatar Dec 27 '22 19:12 soruly

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

My12123 avatar Dec 28 '22 07:12 My12123

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

My12123 avatar Dec 28 '22 07:12 My12123

2022-12-28_11-11-53

My12123 avatar Dec 28 '22 08:12 My12123

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

My12123 avatar Dec 28 '22 16:12 My12123

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

soruly avatar Dec 28 '22 18:12 soruly

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.

Vankerkom avatar Dec 26 '23 01:12 Vankerkom

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.

soruly avatar Mar 09 '24 14:03 soruly