mirror of
https://github.com/immich-app/immich.git
synced 2026-02-04 00:39:15 +03:00
chore(mobile): remove references to fvm, add mise docs, use java 21 (#25703)
This commit is contained in:
@@ -19,7 +19,7 @@ flutter = "3.35.7"
|
|||||||
pnpm = "10.28.0"
|
pnpm = "10.28.0"
|
||||||
terragrunt = "0.98.0"
|
terragrunt = "0.98.0"
|
||||||
opentofu = "1.11.4"
|
opentofu = "1.11.4"
|
||||||
java = "25.0.1"
|
java = "21.0.2"
|
||||||
|
|
||||||
[tools."github:CQLabs/homebrew-dcm"]
|
[tools."github:CQLabs/homebrew-dcm"]
|
||||||
version = "1.30.0"
|
version = "1.30.0"
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"flutter": "3.35.7"
|
|
||||||
}
|
|
||||||
5
mobile/.gitignore
vendored
5
mobile/.gitignore
vendored
@@ -55,8 +55,5 @@ default.isar
|
|||||||
default.isar.lock
|
default.isar.lock
|
||||||
libisar.so
|
libisar.so
|
||||||
|
|
||||||
# FVM Version
|
|
||||||
.fvm/
|
|
||||||
|
|
||||||
# Translation file
|
# Translation file
|
||||||
lib/generated/
|
lib/generated/
|
||||||
|
|||||||
4
mobile/.vscode/settings.json
vendored
4
mobile/.vscode/settings.json
vendored
@@ -2,7 +2,9 @@
|
|||||||
"dart.flutterSdkPath": ".fvm/versions/3.35.7",
|
"dart.flutterSdkPath": ".fvm/versions/3.35.7",
|
||||||
"dart.lineLength": 120,
|
"dart.lineLength": 120,
|
||||||
"[dart]": {
|
"[dart]": {
|
||||||
"editor.rulers": [120]
|
"editor.rulers": [
|
||||||
|
120
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"search.exclude": {
|
"search.exclude": {
|
||||||
"**/.fvm": true
|
"**/.fvm": true
|
||||||
|
|||||||
@@ -4,10 +4,12 @@ The Immich mobile app is a Flutter-based solution leveraging the Isar Database f
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
1. Setup Flutter toolchain using FVM.
|
1. [Install mise](https://mise.jdx.dev/installing-mise.html).
|
||||||
2. Run `flutter pub get` to install the dependencies.
|
2. Change to the immich directory and trust the mise config with `mise trust`.
|
||||||
3. Run `make translation` to generate the translation file.
|
3. Install tools with mise: `mise install`.
|
||||||
4. Run `fvm flutter run` to start the app.
|
4. Run `flutter pub get` to install the dependencies.
|
||||||
|
5. Run `make translation` to generate the translation file.
|
||||||
|
6. Run `flutter run` to start the app.
|
||||||
|
|
||||||
## Translation
|
## Translation
|
||||||
|
|
||||||
@@ -29,7 +31,7 @@ dcm analyze lib
|
|||||||
```
|
```
|
||||||
|
|
||||||
[DCM](https://dcm.dev/) is a vendor tool that needs to be downloaded manually to run locally.
|
[DCM](https://dcm.dev/) is a vendor tool that needs to be downloaded manually to run locally.
|
||||||
Immich was provided an open source license.
|
Immich was provided an open source license.
|
||||||
To use it, it is important that you do not have an active free tier license (can be verified with `dcm license`).
|
To use it, it is important that you do not have an active free tier license (can be verified with `dcm license`).
|
||||||
If you have write-access to the Immich repository directly, running dcm in your clone should just work.
|
If you have write-access to the Immich repository directly, running dcm in your clone should just work.
|
||||||
If you are working on a clone of a fork, you need to connect to the main Immich repository as remote first:
|
If you are working on a clone of a fork, you need to connect to the main Immich repository as remote first:
|
||||||
|
|||||||
Reference in New Issue
Block a user