Storeden Deploy
deploy template made easy
Utility to deploy store theme on a Storeden instance.
Installation
npm install storeden-deploy
Usage
Parameters
Parameter | Type | Mandatory | Default | Description |
---|---|---|---|---|
apiKey |
String | yes | API Key associated with your Storeden Store | |
apiExchange |
String | yes | API Exchange associated with your Storeden Store | |
sourcePath |
String, Object | yes | Local source path where the script will look for template to deploy |
Returns
A Promise
fulfilled with true
if deploy process succeded, otherwise an error object.
Example - Deploy template
let deployed try deployed = await catch e deployed = false console // true for sure!
Example - Deploy template excluding some directory or file
let deployed try deployed = await catch e deployed = false console // true for sure!
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
MIT. Copyright (C) 2019 H-FARM (Enabling Solutions) - Francesco Pasqua.