From 12e33aff151dd4a9c03e9836ea7ac971b9928090 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Sun, 17 Jan 2021 12:58:43 -0800 Subject: updated README --- README.md | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 72857cf..8eb35ad 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,15 @@ Setup: -Install golang +Have golang installed a correct GOPATH -Set these enviroment variables: -export GOROOT=/usr/lib/go -export GOPATH=$HOME/.local/go //or where ever you have you go src dir -export PATH="$PATH:$GOPATH/bin" +Move config-init to config and change the values to reflect the instance + +Create the database, username, and password for psql that is used in config file run -go get github.com/lib/pq //database -create a database and user with psql and run psql -U (user) -d (database) -f databaseschema.psql -set db user, password, name in main.go -set the Domain variable to the domain name that identifies this instance - -run -go run . +then start the client with -One up and running query the database with -select * from boardaccess; -To be able to get your administrative credentials +go run . \ No newline at end of file -- cgit v1.2.3