Skip to content

WoTTsecurity/wott-io

Repository files navigation

Build Status

Development environment

In order to pin the runtime environment, we are using Docker for both the development process, as well as for building the production site.

Requirements:

  • Docker
  • Docker-Compose

Build the development environment using:

$ docker-compose build

To setup the development environment, run:

$ docker-compose up

You can now navigate to the page on 127.0.0.1:4000.

Development-specific overrides are configured in _config_dev.yml.

Production environment

The production environment is built using Travis CI and then published to Github Pages as a static page.

Upgrading Gemfile

If you need to add a new requirement to Gemfile, run the following command to update Gemfile.lock:

$ docker build . -t wott/wott-io && \
  rm -f Gemfile.lock && \
  docker run --rm -v $(pwd):/usr/src/app wott/wott-io bundle install