Skip to content

Commit

Permalink
Merge pull request #9 from versx/develop
Browse files Browse the repository at this point in the history
Release 1.1
  • Loading branch information
versx authored Apr 21, 2020
2 parents 9b42975 + 8abbaed commit 429cebd
Show file tree
Hide file tree
Showing 12 changed files with 963 additions and 776 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,8 @@ dist
# No main configs
config.json

logs
# No logs
logs

# No screenshots
screenshots
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,24 @@

To be used with RealDeviceMap macless solution Kevin.

1.) Install dependencies `npm install`
2.) Copy config `cp src/config.example.json src/config.json`
3.) Fill out `vi src/config.json`
4.) Run `npm run start`
Central repository for macless client configurations without having to keep track of multiple remote configs and urls. Assign different configurations to different devices and different backends (RealDeviceMap / Lorgnette). When devices connect for the first time, if they don't exist they are created, if they don't have a config assigned, it will try to auto-assign it a default config if one exists.
You can also pre-create devices and assign configs yourself if needed.

## Features
- Custom config assignments
- Screenshot preview
- Device logging
- Device endpoint tooling
- and more...

## Installation
1.) Clone repository `git clone https://github.com/versx/DeviceConfigManager`
2.) Install dependencies `npm install`
3.) Copy config `cp src/config.example.json src/config.json`
4.) Fill out config `vi src/config.json`
5.) Run `npm run start`

## PM2 (recommended)
Once everything is setup and running appropriately, you can add this to PM2 ecosystem.config.js file so it is automatically started:
```
module.exports = {
Expand All @@ -24,3 +37,7 @@ module.exports = {
]
};
```

## TODO
- Support for other macless client provider configs with custom predefined configuration keys.
- Localization.
124 changes: 121 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"license": "ISC",
"dependencies": {
"express": "^4.17.1",
"multer": "^1.4.2",
"mustache": "^4.0.1",
"mustache-express": "^1.3.0",
"mysql": "^2.18.1"
Expand Down
Loading

0 comments on commit 429cebd

Please sign in to comment.