89cfa7d93d
Here's a summary of the changes and why * added 'apt update' before the install -- only _needed_ on a completely fresh VM, but never hurts * added an install of the virtualenv package, because it is used later but: do you still need it AND python3-venv? I'm assuming it was done that way for a reason. * changed indentation on the mkdir so it will format correctly * added `-D ~postgres` to the commands executed as postgres user because the postgres user does not, by default, have permission to read into real user's home directories (at least in 22.04) and so the commands would error out * change `source <activate>` to `. activate` because the line `sudo -u umap -i` launches `sh`, not `bash`, and `sh` does not recognize the source command. `.` works in either. * remove the instructions to change STATIC_ROOT and MEDIA_ROOT because they are already defaulted to those values in the current version sample of local.py * added a notice to change the SECREY_KEY and ADMINS list just because it seemed like a good idea. Side note: I have not seen any docs anywhere that explains exactly what the secret Key does, or where it is used. It's used a magic variable in the config file.. ? I am not currently messing with nginx or wsgi, so I can't comment on those parts. |
||
---|---|---|
.. | ||
administration.md | ||
changelog.md | ||
contributing.md | ||
custom.md | ||
docker.md | ||
index.md | ||
install.md | ||
install_windows.md | ||
requirements.txt | ||
settings.md | ||
ubuntu.md |