0.1.2 • Published 10 years ago
smu v0.1.2
Work in progress. Nothing to see yet.
Some thoughts/ideas:
* Support only https. Use autogenerated self signed cert if not provided
* Add token based auth, PKI?
* Auditable logging (user/command/output)
* Support for custom config files (.conf.d?)
* Streaming responses/output for long running commands
* Asynchronous/background commands? (not blocking response until command is done)
* Replace tsd with typings
* Add versioning to packages/imagesStart Me Up
SMU is an HTTP service which maps preconfigured shell commands to url entrypoints.
Running it
Docker (recommended)
docker run -d -v <your smu.yml>:/etc/smu.yml -p 6066:6066 msurdi/smuNpm
Install smu
sudo npm install -g smuUse the provided systemd script as a starting point for running it as a service
Development environment
Ensure you have docker > 1.10 and docker-compose > 1.6
Run
make devto start the server in development mode (watcher/compiler/restarter).Publish releases
Push new versions to dockerhub with
make pushPush new versions to npm with
make publish