/play

Go play but for Risotto

Primary LanguageGoMIT LicenseMIT

Risotto Play 🍲

License Go version Uptime Publish image and Deploy codecov Docker image size Total alerts

api.play.risotto.dev

Similar to Go playground, but for a language nobody will really use: Risotto.

Play about with it on play.risotto.dev

This is just the API, the front-end is hosted in risotto-play, but you can just whack this api into any old front end if you so wish.

Run tests

go test pkg/**/*

Or with docker:

docker build --target tester -t risotto-play-tester .
docker run --rm -iv${PWD}:/host-volume risotto-play-tester

Run locally

Build the DockerFile:

docker build -t risotto-play-api -f Dockerfile .

Run the Dockerfile:

docker run -p 80:4000 risotto-play-api

Or, just run the hosted docker image:

docker run -p 80:4000 jjhaslanded/risotto-play:latest