1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00
immich/web
Daniel Dietzler 3053cbd4c8
chore(server): Store generated files (thumbnails, encoded video) in subdirectories (#4112)
* save thumbnails in subdirectories

* migration job, migrate assets and face thumbnails

* fix tests

* directory depth of two instead of three

* cleanup empty dirs after migration

* clean up empty dirs after migration, migrate people without assetId

* add job card for new migration job

* fix removeEmptyDirs race condition because of missing await

* cleanup empty directories after asset deletion

* move ensurePath to storage core

* rename jobs

* remove unnecessary property of IEntityJob

* use updated person getById, minor refactoring

* ensure that directory cleanup doesn't interfere with migration

* better description for job in ui

* fix remove directories when migration is done

* cleanup empty folders at start of migration

* fix: actually persist concurrency setting

* add comment explaining regex

* chore: cleanup

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-09-25 11:07:21 -04:00
..
__mocks__ chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
src chore(server): Store generated files (thumbnails, encoded video) in subdirectories (#4112) 2023-09-25 11:07:21 -04:00
static
.dockerignore
.eslintignore
.eslintrc.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
.gitignore
.npmrc
.prettierignore
.prettierrc chore(web): remove flowbite (#4178) 2023-09-23 11:50:21 +07:00
babel.config.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
Dockerfile fix(server): properly handle SIGTERM (#3350) 2023-07-21 09:20:04 -05:00
entrypoint.sh fix(server): properly handle SIGTERM (#3350) 2023-07-21 09:20:04 -05:00
how-to-scroll-like-google.md
jest.config.mjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
LICENSE
package-lock.json chore(web): remove flowbite (#4178) 2023-09-23 11:50:21 +07:00
package.json chore(web): remove flowbite (#4178) 2023-09-23 11:50:21 +07:00
postcss.config.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
README.md
svelte.config.js chore(web): Update to Svelte 4 (#3196) 2023-07-15 20:13:04 -05:00
tailwind.config.cjs chore(web): remove flowbite (#4178) 2023-09-23 11:50:21 +07:00
tsconfig.json chore(web): improve type checking (#2644) 2023-06-02 08:55:08 -05:00
vite.config.js chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm init svelte

# create a new project in my-app
npm init svelte my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.