RubenVerg / scala-js-website

Source for https://www.scala-js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Website for Scala.js

This is the source code for the Scala.js website at http://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 and preview your content. Your pull requests are welcome!

Set up

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

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

$ rvm use 2.4.4 --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:
$ bundle exec jekyll build

Editing live

This is what you would do after initial installation:

$ bundle exec jekyll serve --watch

About

Source for https://www.scala-js.org/


Languages

Language:JavaScript 48.6%Language:HTML 26.2%Language:Ruby 13.2%Language:SCSS 9.9%Language:CSS 2.1%