lean into examples
This commit is contained in:
10
examples/postgres/postgres.sh
Normal file
10
examples/postgres/postgres.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
# First, be sure that you've installed Postgres
|
||||
# and have a server running locally at port 5432.
|
||||
|
||||
# Then create an example database.
|
||||
$ createdb gobyexample
|
||||
|
||||
# Now install the dependencies for the postgres
|
||||
# example and try running it.
|
||||
$ go get github.com/bmizerany/pq
|
||||
$ go run postgres.go
|
||||
Reference in New Issue
Block a user