Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src
.gitignore
CONTRIBUTING.md
Dockerfile
Dockerfile.dev
LICENSE
README.md
build.sbt
example-scala.json
example-start.json
example-wrong.json
sbt
sbt-launch.jar

README.md

ZIO Language Survey

./sbt "~reStart -web"
curl -H "Content-Type: application/json" -X POST -d @example-start.json localhost:8080
curl -H "Content-Type: application/json" -X POST -d @example-wrong.json localhost:8080
curl -H "Content-Type: application/json" -X POST -d @example-scala.json localhost:8080

Local Docker:

docker build .

GCloud Docker & Cloud Run:

export PROJECT_ID=$(gcloud config get-value project)
gcloud builds submit -t gcr.io/$PROJECT_ID/zio-lang-survey
gcloud beta run deploy --image gcr.io/$PROJECT_ID/zio-lang-survey --region us-central1 --allow-unauthenticated zio-lang-survey

TODO:

  • Stackdriver

LATER:

  • Use Ref
  • Use ZIO Console
  • Replace RawHttp with httpcomponents
You can’t perform that action at this time.