view README.md @ 64:48f5e0fda5a8 kai

Add repository information.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Tue, 11 Oct 2016 16:03:08 +0200
parents beb4387a8937
children bc79072a8169
line wrap: on
line source

# octave-web
Proposed update of [octave.org](http://www.octave.org).

## Developing

- Install Jekyll from Rubygems

  `gem install jekyll`

- Compile the assets into `_site` (this directory is ignored by revision control and will be created on first build)

  `jekyll build`

- Serve the site

  `jekyll serve --watch`

### Website HG repository

    hg clone ssh://gnuoctave@octave.org/hg/web-octave

## Configuring
See [_config.yml](_config.yml). In particular, `baseurl` will need to be adjusted to match the path of the subdirectory where the site will be hosted, e.g., for `gnu.org/octave` use `/octave`. Currently `baseurl` is set to the repository name in order to work with the Github Pages' build service.

## Deploying
- Configure paths as needed in `_config.yml`
- Build the static site

  `jekyll build`

- Copy the static assets from `_site` to a server.

### Website CVS repository at Savannah

    export CVS_RSH=ssh
    cvs -z3 -d:ext:<Savannah account>@cvs.savannah.gnu.org:/web/octave co octave