Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Source forhttps://www.scala-js.org/

NotificationsYou must be signed in to change notification settings

scala-js/scala-js-website

Repository files navigation

This is the source code for the Scala.js website athttp://www.scala-js.org/.

If you intended to look at the Scala.js source code itself,you can find it here:github.com/scala-js/scala-js.

Contributing

The key to contributing is being able to edit andpreview your content.Your pull requests are welcome!

Set up

With Docker

You need to haveDocker Engine andDocker Compose installed on your machine.Under Mac OS (Intel or Apple silicon), instead of installingDocker Desktop you can also useHomeBrew withColima:brew install colima docker docker-compose.

docker compose up --build

On Linux you may have to prefix that command withsudo, depending on your Docker setup.

The generated site is available athttp://localhost:4000.

When the website dependencies change (the content of theGemfile), you have to kill and re-run the command.

If you have problems with the Docker image or want to force the rebuild of the Docker image:

docker compose build --no-cache

Manually with Ruby tooling

As this website is built withJekyll,we will need to set up some Ruby tooling.

First, install RVM (Ruby Version Manager):https://rvm.io/rvm/installThen run the following commands:

$ rvm use 2.7.5 --install# Set up Bundler, a Ruby package manager# It downloads dependencies specified in a Gemfile# but into a local path unlike gem$ gem install bundler# and if this fails, try installing libffi first (distro-specific):# sudo apt install libffi-dev# Install dependencies such as Jekyll and its plugins:$ bundle install# Do a full build:$ bundleexec jekyll build

Editing live

This is what you would do after the initial installation:

$ bundleexec jekyll serve --watch

Releases

No releases published

Packages

No packages published

Contributors163


[8]ページ先頭

©2009-2025 Movatter.jp