Update README.md

This commit is contained in:
nesshy
2025-01-21 12:29:50 -05:00
committed by GitHub
parent c3dec20a57
commit da10557324
+4 -3
View File
@@ -13,17 +13,18 @@
[This](doc) is a step-by-step guide for getting up-and-running with NNTPChan as well as documentation for developers who want to either work on NNTPChan directly or use NNTPChan in their aplications with the API. [This](doc) is a step-by-step guide for getting up-and-running with NNTPChan as well as documentation for developers who want to either work on NNTPChan directly or use NNTPChan in their aplications with the API.
## Enable Some Modules ## Enable Some Modules
```
export GO111MODULE=off export GO111MODULE=off
export GOPATH=$HOME/go export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin export PATH=$PATH:$GOPATH/bin
```
## now its time to create the database in postgres ## now its time to create the database in postgres
```
CREATE DATABASE nntpchan; CREATE DATABASE nntpchan;
CREATE USER username WITH PASSWORD 'CHANGEME'; CREATE USER username WITH PASSWORD 'CHANGEME';
GRANT ALL PRIVILEGES ON DATABASE nntpchan TO username; GRANT ALL PRIVILEGES ON DATABASE nntpchan TO username;
```
TL;DR edition: TL;DR edition: