https://github.com/bentekkie/config-manager
A streamlined web interface to manage config files on a remote server
https://github.com/bentekkie/config-manager
configuration-management devops
Last synced: about 1 year ago
JSON representation
A streamlined web interface to manage config files on a remote server
- Host: GitHub
- URL: https://github.com/bentekkie/config-manager
- Owner: bentekkie
- License: mit
- Created: 2018-11-14T22:02:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-21T17:01:30.000Z (over 7 years ago)
- Last Synced: 2025-04-07T17:03:57.166Z (about 1 year ago)
- Topics: configuration-management, devops
- Language: TypeScript
- Homepage:
- Size: 1.14 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Server Config Manager
> A streamlined web interface to manage config files on a remote server
[![NPM Version][npm-image]][npm-url]

## Installation
```sh
yarn global add server-config-manager
```
## Usage
```sh
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
```ini
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
```sh
yarn
```
### To start the development server:
```sh
yarn build
```
Then:
```sh
yarn start
```
### To start a react development server for the frontend:
Start the development server as above then:
```sh
yarn watch:client
```
Access the react development server on port 3000
## Contributing
1. Fork it ()
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
[npm-image]: https://badge.fury.io/js/server-config-manager.svg?kill_cache=1
[npm-url]: https://www.npmjs.com/package/server-config-manager/v/latest
[npm-downloads]: https://img.shields.io/npm/dm/datadog-metrics.svg?style=flat-square
[travis-image]: https://img.shields.io/travis/dbader/node-datadog-metrics/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/dbader/node-datadog-metrics
[wiki]: https://github.com/yourname/yourproject/wiki