- Notifications
You must be signed in to change notification settings - Fork147
Source forhttps://www.scala-js.org/
scala-js/scala-js-website
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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.
The key to contributing is being able to edit andpreview your content.Your pull requests are welcome!
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
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
This is what you would do after the initial installation:
$ bundleexec jekyll serve --watch
About
Source forhttps://www.scala-js.org/
Resources
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.