Skip to content

Latest commit

 

History

90 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js server to handle content negotiation for the OSLC website.

Go Discourse status

Getting started

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

Deployment

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

Testing

To test the prod endpoint:

./test.sh -p

To test the local endpoint:

./test.sh

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages