Skip to content

scalatest/scalatest-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScalaTest Website

=====================================

ScalaTest Official Website

Development

To run the site locally:

> export APP_SECRET=12345678
> sbt run

Docker

Update version in build.sbt, then publish docker image locally:

> sbt docker:publishLocal

Optionally, you can run published local docker image (please replace APP_SECRET value):

docker container run --env APP_SECRET=<replace-secret-here> --publish 9000:9000 --detach --name scalatest-website.svc artima/scalatest-website

To tag and push built image to GitHub Package:

> ECR_IMAGE_VERSION=<replace_version_here>
> docker tag artima/scalatest-website:$ECR_IMAGE_VERSION ghcr.io/artimahub/scalatest-website:$ECR_IMAGE_VERSION
> docker tag artima/scalatest-website:latest ghcr.io/artimahub/scalatest-website:latest
> docker push ghcr.io/artimahub/scalatest-website:$ECR_IMAGE_VERSION
> docker push ghcr.io/artimahub/scalatest-website:latest