- Notifications
You must be signed in to change notification settings - Fork39
web site for the Scala Center @ EPFL in Switzerland
License
scala/scala.epfl.ch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
website for the Scala Center
The site is built with a jenkins script triggered by any new commit in the main branch. The infrastructure is managed by the Scala Center.
You need to haveDocker Engine andDocker Compose installed on your machine.Under macOS (Intel or Apple silicon), instead of installingDocker Desktop you can also useHomeBrew withColima:brew install colima docker docker-compose
.
UID and GID environment variables are needed to avoid docker from writing files as root in your directory.By default, docker-compose will use the file docker-compose.yml which will build the website and serve it on 0.0.0.0:4000 .If you just need to build the website, add-f docker-compose_build-only.yml
env UID="$(id -u)" GID="$(id -g)" docker-compose up
The generated site is available athttp://localhost:4000
.
When the website dependencies change (the content of theGemfile
),you have to re-build the Docker image:
env UID="$(id -u)" GID="$(id -g)" docker-compose up --build
If you have problems with the Docker image or want to force the rebuild of the Docker image:
env UID="$(id -u)" GID="$(id -g)" docker-compose build --no-cache
You need to have Ruby and npm installed on your machine.
You can build and view the site locally with:
gem install bundler:2.4.7bundle installnpm installnpm run bower-installbundle exec jekyll serve
The generated site is available athttp://localhost:4000
.
About
web site for the Scala Center @ EPFL in Switzerland
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.