WoTTsecurity / wott-io

Website for WoTT.
https://wott.io
MIT License
1 stars 8 forks source link

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:

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