Xaseron / kobweb-site

Source code behind the site kobweb.varabyte.com

Home Page:http://kobweb.varabyte.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kobweb Site

This is a Kobweb project for generating the Kobweb site itself.

The goal of this site will be to highlight the features provided by the framework and the place to read documentation about it.

Deploy Site

Google cloud shell

Make sure to include the app.json at the root of your repository

Run on Google Cloud

or run the following commands locally

Build Docker image and push to GCR

  • Build docker image
    docker build -t kobweb-site .

  • Incase you first want to make sure the website runs locally
    docker run -p 8080:8080 kobweb-site

  • Gcloud config to push the image to google cloud registry
    gcloud auth login
    gcloud auth configure-docker

  • Tag the image
    docker tag kobweb-site gcr.io/kobweb-example-website-1/kobweb-site-service:1

  • Push the image to the GCP Container Registry
    docker push gcr.io/kobweb-example-website-1/kobweb-site-service:1

Deploy the docker container using Cloud Run

Run the following command to deploy your app:

gcloud run deploy kobweb-site-service\
  --project=kobweb-example-website-1\
  --platform=managed\
  --region=us-central1\
  --image=gcr.io/kobweb-example-website-1/kobweb-site-service:1\
  --port=8080\
  --allow-unauthenticated\
  --memory=1024Mi\
  --cpu=1\
  --no-use-http2

About

Source code behind the site kobweb.varabyte.com

http://kobweb.varabyte.com

License:MIT License


Languages

Language:Kotlin 92.9%Language:Dockerfile 4.2%Language:CSS 2.9%