aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 23 insertions, 1 deletions
diff --git a/README.md b/README.md
index 70bac9a..b2460f5 100644
--- a/README.md
+++ b/README.md
@@ -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
```
-