1.0.3 • Published 3 years ago
ghostify v1.0.3
ghostify
ghostify is a ghost theme deployer that allow you to deploy your ghost theme localy and test it without restarting your ghost server
installation
$ npm install -g ghostifyusage
$ ghostify <config file or theme path> [options]you can use it differently with these optionals options
-c,--configfilename: the ghostify.js or ghostify.json config containing your admin api key and url and others theme informations-q,--quiet: do not output the deployment logs. Default is false-p,--preserve: whever to keep the zip theme after deploy. Default is false-h,--help: print the help and exit
the config file should export an object with the following properties:
apiUrl: stringthe ghost admin api urlapiKey: stringthe ghost admin api keythemeName?: stringthe desired heme name (can be omited if the config file is in the same directory than package.json)excludes?: string | Array<string>the optional list of files to exclude from deployed theme, can be an space separed string or an array of string like*test demo.hbs *hidden*preserve?: booleanan optional property to save the zipped the after deployment and can be overrided by -p cli option, default is false
Examples
use in theme base directory
$ ghostifyspecify the config file
$ ghostify <config file path>or
$ ghostify -c <file path>specify the theme base path containing the config file and package.json
$ ghostify <theme path>