ern-binarystore

Electrode Native Binary Store

Usage no npm install needed!

<script type="module">
  import ernBinarystore from 'https://cdn.skypack.dev/ern-binarystore';
</script>

README

Electrode Native Binary Store

The Electrode Native binary store is a very simple and lightweigtht NodeJS file server accessible through an HTTP API.

It can be used with Electrode Native for storing/retrieving mobile application versions binaries (APKs for Android, IPAs for iOS), through ern binarystore subcommands.

Installation

  1. Install ern-binarystore globally on your box
$ npm install -g ern-binarystore
  1. Start the binary store
$ ern-binarystore

Configuration

The ern-binarystore binary accepts some command line options :

--port
The port on which to start the server [default: 3000]

--host
The host on which to start the server [default: localhost]

--storePath
Path to the directory where the files should be stored

Setting up for use with Electrode Native

If you want to use Electrode Native binary store for your mobile application, you'll need to add the configuration of the binary store to be used, in your mobile application Cauldron, here is a configuration sample :

"config": {
  "binaryStore": {
    "provider" : "ern-binarystore",
    "url": "http://localhost:3000"
  }
}

provider : Should be ern-binarystore. We will offer support for adding/using more providers in the near future, but as of now, only Electrode Native Binary Store is supported.

url : Should be the base url where the binary store server is running