Skip to content

oslc-op/website-content-negotiation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5