- Create a database on a running Postgres server
- Create a
.env
file and include the following:PG_HOST
,PG_PORT
,PG_USER
,PG_PWD
,DB_NAME
, andPORT
- Install the Postgres driver for Go
- Run
psql -d $DB_NAME < db/setup.sql
from the root directory of snippetbox to create the necessary schema and any seed data make run
-
Notifications
You must be signed in to change notification settings - Fork 0
sjbabadi/snippetbox
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Snippetbox is a web app for creating text snippets, similar in nature to Github Gists or Pastebin.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published