First, install Go.
Then, if necessary, adjust config/conneg.yml
to point to your local copy of https://github.com/oslc-op/website/tree/master/content/ns
Finally, run:
cd connego
go run ./main.go
On the server:
cd ~/workspace/oslc-site-content-negotiation/connego/
git checkout master
git pull
cd connego
go build -o connego main.go
sudo systemctl daemon-reload
sudo systemctl restart connego
sudo systemctl enable connego
sudo systemctl status connego
To test the prod endpoint:
./test.sh -p
To test the local endpoint:
./test.sh