Skip to content

A streamlined web interface to manage config files on a remote server

License

Notifications You must be signed in to change notification settings

bentekkie/config-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Config Manager

A streamlined web interface to manage config files on a remote server

NPM Version

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

  1. Fork it (https://github.com/bentekkie/config-manager)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

A streamlined web interface to manage config files on a remote server

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published