Skip to content

ioos/ioos-us

Repository files navigation

Build Status

ioos-us

The homepage for http://ioos.us/

Building the project

Local Build

  1. Download and install nodejs (which comes with npm) using your package manager

  2. Install yarn using your package manager. Instructions can be found here.

  3. Use npm to install grunt

$ npm install -g grunt
  1. Use yarn to install the package and its dependencies:
$ yarn
  1. Following a successful installation, use grunt to compile static elements.
$ grunt
  1. To run the project:
$ DEBUG=ioos-us:*
$ node bin/www

Docker build

The Docker build is far simpler:

  1. $ docker build -t ioos-us .
  2. $ docker run -d -p 3000:3000 ioos-us
  3. Navigate to http://localhost:3000

NOTE: ensure that public/lib is removed before building. If it exists, yarn will attempt to use the existing one in the Docker build, breaking the symlink in the container and lead to ugly CSS.