jpanknin
jpanknin

Reputation: 115

Django Cookie Cutter - postgres not found

I'm following the book, "A Wedge of Django," and it uses the Cookiecutter template framework. It says to check if postgres is running by entering pg_isready into the command line. But pg_isready gives an error and postgres -V also gives an error, so it seems that postgres isn't installed or configured properly as it should be.

I've walked through each step in the book (chapter 19.3.3) and can't find that I'm missing any instructions. I seem to be in the proper directory. I can't move forward if I can't get postgres running. Any help is appreciated.

(everycheese) joshp@joshs-mbp-2 everycheese % pg_isready
zsh: command not found: pg_isready
(everycheese) joshp@joshs-mbp-2 everycheese % postgres -V
zsh: command not found: postgres
(everycheese) joshp@joshs-mbp-2 everycheese % ls
CONTRIBUTORS.md         env.sample.windows      requirements
COPYING                 everycheese             requirements.txt
README.md               locale                  setup.cfg
config                  manage.py
env.sample.mac_or_linux pytest.ini

Upvotes: 0

Views: 138

Answers (0)

Related Questions