Merge branch 'documentation_securize_conf' into 'master'

Documentation about change default passwords

See merge request digitaldemocratic/digitaldemocratic!14
Josep Maria Viñolas Auquer 2021-05-28 11:18:27 +00:00
commit 71f84377c2
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,12 @@ See `docs` directory for Markdown files or the [auto-built site](https://digital
cp digitaldemocratic.conf.sample digitaldemocratic.conf
```
Change default passwords
```
./securize_conf.sh
```
Edit digitaldemocratic.conf file variables to suit your needs.
```

2
securize_conf.sh Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/bin/sh
PWD=$(shuf -n3 /usr/share/dict/words | tr -d "\n" | tr -d "'")
sed -i "/^SMTP_PASSWORD=/c\SMTP_PASSWORD=$PWD" digitaldemocratic.conf