https://github.com/eddieavd/bpm
bpm - blinkid package manager (not really, but the name has potential so i'm calling dibs)
https://github.com/eddieavd/bpm
Last synced: about 1 month ago
JSON representation
bpm - blinkid package manager (not really, but the name has potential so i'm calling dibs)
- Host: GitHub
- URL: https://github.com/eddieavd/bpm
- Owner: eddieavd
- Created: 2023-04-13T19:19:57.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-16T13:32:23.000Z (almost 2 years ago)
- Last Synced: 2025-02-15T03:44:13.584Z (3 months ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bpm
A simple utility for launching [BlinkID In-browser SDK](https://github.com/BlinkID/blinkid-in-browser) demo apps.
## creating an app
To create and run a demo app, run:
```bash
$ ./bpm_create
```
or for the latest version simply:
```bash
$ ./bpm_create latest
```The script will create a `demoapp` directory which will contain all the necessary files for running the app. The BlinkID version tags can be found [here](https://github.com/BlinkID/blinkid-in-browser/tags).
### additional arguments
#### -e \
Specifies which BlinkID example app will be built. List available [here](https://github.com/BlinkID/blinkid-in-browser/tree/master/examples).
Default is `blinkid-camera`.
Currently only javascript examples are used.#### -k \
Read license key from a file instead of standard input.#### -h \
Supported protocols: http, https. Default is `http`.
Selecting https will automatically create certificates for the local IP in `/demoapp/cert` (assumes [_mkcert_](https://github.com/FiloSottile/mkcert#macos) is installed).#### -p \
Specifies the port the app will listen on. Default is `8372`.#### example
```bash
$ ./bpm_create -e blinkid-file -k key.txt -h https -p 4443 v6.0.1
```## what now?
The `bpm_create` script will start the app automatically upon completion and can be stopped with `CTRL+c`.
The `demoapp` directory will also contain a `bpm_serve` script which you can run to restart the app.