Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sailing:immich [2024/01/11 07:07] – willy | sailing:immich [2024/02/22 13:39] (current) – removed willy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Immich ====== | ||
| - | |||
| - | |||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | on bare metal now. | ||
| - | |||
| - | ref: https:// | ||
| - | |||
| - | As immich user create **~/ | ||
| - | <file txt pip.conf> | ||
| - | [global] | ||
| - | break-system-packages = true | ||
| - | user = true | ||
| - | </ | ||
| - | |||
| - | you need poetry for machine learning: | ||
| - | <code bash> | ||
| - | > pip install poetry | ||
| - | </ | ||
| - | |||
| - | |||
| - | < | ||
| - | useradd -d / | ||
| - | su - immich | ||
| - | mkdir build | ||
| - | cd build | ||
| - | git clone https:// | ||
| - | cd immich | ||
| - | git checkout v1.92.1 | ||
| - | (cd server && npm ci && npm run build && npm prune --production && mkdir app && cp -a package.json package-lock.json node_modules dist app) | ||
| - | (cd web && npm ci && npm run build ) #&& npm prune --production && mkdir app && cp -a package.json package-lock.json node_modules dist app) | ||
| - | #(cd machine-learning && npm ci && npm rebuild @tensorflow/ | ||
| - | |||
| - | |||
| - | </ | ||
| - | |||
| - | |||
| - | ignore the following docker stuff: | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | Create folder: | ||
| - | <code bash> | ||
| - | > mkdir / | ||
| - | </ | ||
| - | |||
| - | <code bash> | ||
| - | > cd / | ||
| - | > wget https:// | ||
| - | > wget -O .env https:// | ||
| - | > wget https:// | ||
| - | </ | ||
| - | |||
| - | edit .env file | ||
| - | |||
| - | update: | ||
| - | |||
| - | docker compose pull && docker compose up -d | ||
| - | |||
| - | Immoich does not support bas_url, so: | ||
| - | |||
| - | <file txt immich.conf> | ||
| - | location /immich { | ||
| - | auth_pam off; | ||
| - | | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | |||
| - | Immich has a CLI qhich requires NPM: | ||
| - | <code bash> | ||
| - | > emerge nodejs | ||
| - | </ | ||
| - | |||
| - | as root: | ||
| - | npm i -g @immich/cli | ||
| - | |||
| - | as une user: | ||
| - | immich login-key http:// | ||
| - | |||
| - | immich upload --recursive directory/ | ||
| - | |||