-
-
Notifications
You must be signed in to change notification settings - Fork 253
Home
Script-server provides Web GUI for your scripts and remote execution facility. All you need to do, is create link/configuration to your scripts and start the server. Users will be able to access your server via web-browser and run your scripts. Everything will run on your machine, so users won't care about setting up the environment or working via ssh. GUI is very straightforward any easy-to-use for anyone.
Example of the user interface:
- Sending parameters from a user to a script. Different parameter types are supported
- Providing immediate output to the user and reading it's input (if script is interactive)
- Possibility to enable LDAP authentication
- Alerting in case of script execution failures (email or web hook)
- HTTPS support
- Transparent logging and auditing
- Clone/download the repository
- Create configurations for your scripts in conf/runners/ folder (see script config structure in the wiki)
- Launch server using python3: python launcher.py
By default, server will run on 5000 port, over HTTP protocol
You can configure ssl and port, using conf/conf.json file. This file should have correct json structure. All missing parameters will be replaced with defaults. It is allowed not to create this file. In this case default values will be used. See server config structure for details
For working over HTTPS, server key and certificate should be provided and specified in server configuration.
Python 3.5+ with following modules:
- Tornado
- six
OS support:
- Linux (main). Tested and working on Debian 8
- Windows (additional). Light testing on Windows 7
- MacOS (additional). Not tested. Most probably some fixes are needed
Any more or less up to date browser with enabled JS
Internet connection is not needed. All the files are loaded from the server.
Completely no security! Use it only in local network for fully trusted users.
Server can work over SSL, for this server key and certificate should be provided.
All web/operating logs are written to the server-path/logs/server.log Additionally each script execution logs (output and error streams) are written to separate file in server-path/logs/processes. File name format is {script_name}_{client_address}_{date}_{time}.log.
Script-server has bundled configs/scripts for testing/demo purposes, which are located in testing folder. You can link/copy testing config files to server config files.