diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -5,16 +5,22 @@ docker build --no-cache=true -t ndn-pwman . ``` +Make a `secret.txt` file and add a random 50 character secret in a data dir. + +``` +6dxjpk*+-ywfxxi#_wmpzon@-p6hwwh9z)7q0t)h7zy*tdz20x +``` + Migrate db if necessary. ``` -docker run --rm -ti ndn-pwman migrate +docker run --rm -ti -v $(pwd)/data:/opt/pwman ndn-pwman migrate ``` Then run a collect static: ``` -docker run --rm --ti ndn-pwman -v /opt/pwman-statics:/opt/statics collectstatic +docker run --rm --ti ndn-pwman -v $(pwd)/data:/opt/pwman collectstatic ``` You need a useradmin keytab file, and the admin password for our ldap. @@ -39,7 +45,7 @@ docker run --rm -ti ndn-pwman shell - LDAP_URL - LDAP_USER - LDAP_PASSWORD -- KERBEROS_SCRIPT +- KERBEROS_SCRIPT - DEBUG_MODE - SECRET_KEY_FILE - SECRET_KEY |