server-config-manager
v1.1.4
Published
> A streamlined web interface to manage config files on a remote server
Downloads
6
Readme
Server Config Manager
A streamlined web interface to manage config files on a remote server
Installation
yarn global add server-config-manager
Usage
server-config-manager [configLocation]
start the server
Positionals:
configLocation Location of config file
[default: "~/.config/config-manager.ini"]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--verbose, -v [default: false]
--port, -p [default: 5000]
Sample config-manager.ini
Username and password will be used for basic authentication for the web interface
The [Config Manager]
section is mandatory and will be auto generated the first time you provide your config file to the application
username = admin
password = admin
[Config Manager]
config = /Users/username/.config/config-manager.ini
[Pip]
pip.conf = /Users/username/.config/pip/pip.conf
[Apache]
main httpd.conf = /etc/apache2/httpd.conf
Development setup
yarn
To start the development server:
yarn build
Then:
yarn start
To start a react development server for the frontend:
Start the development server as above then:
yarn watch:client
Access the react development server on port 3000
Contributing
- Fork it (https://github.com/bentekkie/config-manager)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request