diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -15,10 +15,32 @@ python setup.py install Put the installed script, `steuermann_report.cgi`, on your web server. +## To configure: + +```bash +# Create default configuration directory +mkdir ~/.steuermann/default + +# Copy default hosts.ini template +cp steuermann/hosts.ini ~/.steuermann/default + +# Generate basic configuration file +cat << EOF > ~/.steuermann/default/config.py +db_creds = '/path/to/steuermann.db' +logdir = '/path/to/logs' +host_logs = '/path/to/host_logs' +EOF +``` + +You can override the default configuration directory by setting `STEUERMANN_CONFIG`: + +```bash +export STEUERMANN_CONFIG=/alternate/path/here +``` + ## To run: ``` smc [ -a ] [ -r run_name ] file.sm ``` - |