1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00

fix(cli): Update build instructions for CLI (#11874)

Update build instructions for CLI
This commit is contained in:
Lena Tauchner 2024-08-28 15:25:58 +02:00 committed by GitHub
parent c44280a50b
commit 6867bae770
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,8 +4,18 @@ Please see the [Immich CLI documentation](https://immich.app/docs/features/comma
# For developers
Before building the CLI, you must build the immich server and the open-api client. To build the server run the following in the server folder:
$ npm install
$ npm run build
Then, to build the open-api client run the following in the open-api folder:
$ ./bin/generate-open-api.sh
To run the Immich CLI from source, run the following in the cli folder:
$ npm install
$ npm run build
$ ts-node .
@ -17,3 +27,4 @@ You can also build and install the CLI using
$ npm run build
$ npm install -g .
****