Aristat / golang-example-app

Example application
181 stars 72 forks source link

can not create db #4

Closed sam-mix closed 3 years ago

sam-mix commented 3 years ago
❯ make createdb
createdb golang_example_development
make: createdb: No such file or directory
make: *** [createdb] Error 1
Aristat commented 3 years ago

Hey, it's short commands in PostgreSQL https://www.postgresql.org/docs/13/reference-client.html, as first you need to install PostgreSQL to your laptop https://www.postgresql.org/download/. If you already have it installed but only have the psql command, you can create the database yourself via the console without using make

psql
> CREATE DATABASE golang_example_development;

NOTE: I will update the description, what needs to be installed exactly PostgreSQL, since the example was made on its basis, thanks!

sam-mix commented 3 years ago

thanks