forked from flipperdevices/flipper-update-indexer
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
14 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
# Flipper Zero Update Indexer and Uploader | ||
|
||
## Start localy | ||
## Start locally | ||
```bash | ||
INDEXER_FIRMWARE_GITHUB_TOKEN= \ | ||
INDEXER_QFLIPPER_GITHUB_TOKEN= \ | ||
INDEXER_GITHUB_ORGANIZATION= \ | ||
INDEXER_QFLIPPER_GITHUB_REPO= \ | ||
INDEXER_FIRMWARE_GITHUB_REPO= \ | ||
INDEXER_BLACKMAGIC_GITHUB_TOKEN= \ | ||
INDEXER_BLACKMAGIC_GITHUB_REPO= \ | ||
INDEXER_TOKEN= \ | ||
INDEXER_BASE_URL= \ | ||
INDEXER_FILES_DIR= \ | ||
make run | ||
``` | ||
|
||
|
@@ -31,7 +23,6 @@ Get latest release | |
# format: 127.0.0.1:8000/{directory}/{channel}/{target}/{type} | ||
# if target contains '/' (slash) replace it by '-' dash symbol | ||
curl 127.0.0.1:8000/firmware/release/f7/updater_json | ||
curl 127.0.0.1:8000/qFlipper/release/windows-amd64/installer | ||
``` | ||
|
||
Trigger reindex | ||
|
@@ -47,10 +38,3 @@ Upload files | |
-F "[email protected]" \ | ||
127.0.0.1:8000/firmware/uploadfiles | ||
``` | ||
|
||
Upload files without reindex | ||
```bash | ||
curl -L -H "Token: YOUR_TOKEN" \ | ||
-F "[email protected]" \ | ||
127.0.0.1:8000/toolchain/uploadfilesraw | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters