pl-config
v2.0.2
Published
A command-line tool to help with Apache configuration for Private Label sites
Downloads
13
Readme
CLI tool to assist with Apache configuration for Private Label sites.
It prints two VirtualHost blocks (one for HTML files, one for images/static files) to stout so they can be added to the Apache configuration file.
The "-d" flag is required and indicates the domain name.
Passing the "-s" flag will attempt to save and reload the configuration file.
Passing the "-p" flag will print the complete configuration file to stout
Examples:
$ pl-config -d example.com >> /etc/apache2/conf.d/pl.conf
$ pl-config -d example.com -s
Instalation:
$ npm install -g pl-config
Then edit "config.json" with the appropriate values for your setup.