- Clone
parallel
repository - Go to your $GOPATH
- Install the following dependencies
go get -v -u github.com/gocolly/colly/...
go get -v -u "github.com/schollz/closestmatch"
go get -v -u "github.com/lib/pq"
go get -v -u "github.com/go-redis/redis"
- Be patient, it takes some time.
- Create a config file located in
parallel/config/config.json
use this sample
{
"IRCNick":["YourNick"],
"IRCChannels":["#Yourchannel"],
"IRCUser":["user user user user user user"],
"GoogleAPI":["Your api get address"],
"IRCServerPort":["irc.ircserver.org:6667"],
"DBHost":["Hostname of your postgresSQL DB"],
"DBPort":["Port of your postgresSQL DB"],
"DBUser":["User of your postgresSQL DB"],
"DBPass":["Password of your postgresSQL DB"],
"DBName":["Database Name your postgresSQL DB"]
}
- Database setup: follow steps at Database Setup
- Run
go build
located in your main folder - Run the generated file
./main