HTML CSS Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_includes
_layouts
_plugins
_posts
assets
community
getting-started
guides
.gitignore
.nojekyll
.rbenv-version
Gemfile
Gemfile.lock
README.md
_config.yml Bump scalatra_version and json4s_version in _config.yml Jun 18, 2016
index.html
news.html

README.md

Scalatra project

This is the home of the Scalatra website which generates the site at scalatra.org.

To build it, you'll need to have Ruby and bundler installed.

Then you'll need Jekyll and a few other things installed on your system. cd into the root directory of the project and type:

bundle install

This will download the project's rubygem dependencies.

Once everything's installed, you can do this to generate the documentation:

jekyll --server --auto

This will start an embedded webserver and automatically regenerate the website as you make changes to it. You can then view the site at http://localhost:4000/2.4/.

Building on a mac

To build this site on a recent version of OS X;

sudo gem install jekyll
sudo gem install bundler

cd into the root directory of the project and type:

bundle install

This will download the project's rubygem dependencies.

Once everything's installed, you can do this to build the site:

bundle exec jekyll serve

You can run this to start hosting the site locally with autorefresh:

bundle exec jekyll --serve

This will start an embedded webserver and automatically regenerate the website as you make changes to it. You can then view the site at http://localhost:4000/2.4/.

Note: on recent LLVM-favoring versions of Mac, you will need to install gcc.