In the section on createdb the explanation for default settings used in the PostgresDB could be clarified.
Specifically, if someone can explain how to do this, given the Django Cookie-Cutter setup, that would be helpful.
note: if this is the first time a database is created on your machine you might need to alter a localhost-related entry in your pg_hba.conf so as to utilize trust policy
Easier setup for first time users of Django Cookie Cutter.
createdb my_project asks for a password, which I do not know since Postgres has not yet been setup. I'm told to alter a pg_hba.conf, which I then have to figure out how to use and where it should go and then verify that it is setup properly.
Then I get to go down this rabbit hole: https://dba.stackexchange.com/questions/1350/how-do-i-find-postgresqls-data-directory
Thanks for reporting this, so given the links you provided, I assume you're trying to run your project on Mac OS (without Docker).
The easier way to install Postgres on a Mac is using Homebrew. This is documented in the Postgres wiki and after installation, homebrew should show instructions on how to set up your server.
If the above resolve your problem and you think the documentation is outdated or can be improved, you are welcome to send us a pull request to update it.
If not using homebrew, I found this to be the easiest way to install postgres fo mac.
You should create a database user for your app, that user should only have access to your project database imo
Most helpful comment
If not using homebrew, I found this to be the easiest way to install postgres fo mac.