The Q&A store for qgraph.
Workflow:
- authenticate via JWT (Google, GitHub, etc.)
- push/get your files
Prebuilt container images can be found in the following registry: github.com/orgs/NCATS-Gamma/packages/container/package/robokache.
You can pull the latest image using the following command:
docker pull ghcr.io/ncats-gamma/robokache
Build the image:
>> docker build -t robokache .
Run the image:
>> docker run -it --name robokache -p 8080:8080 robokache
Install:
>> go get -t ./...
Run:
>> go run ./cmd
- Go to http://localhost:8080/
- Sign in via the buttons at the top of the page
- Copy ID token into authentication field
- Have fun
Set up testing certificate:
>> openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout test/certs/test.key -out test/certs/test.cert
Run tests and print coverage:
>> go test ./internal/robokache -coverprofile=cover.out
>> go tool cover -func=cover.out
- Auth0 Sign-in
- document visibility levels:
- private (1) - only the owner
- shareable (2) - anyone with the link
- public (3) - anyone
- visibility is assigned to both questions and answers
- the effective visibility of an answer is min(answer.visibility, question.visibility)