The homepage for http://ioos.us/
-
Download and install nodejs (which comes with npm) using your package manager
-
Install
yarn
using your package manager. Instructions can be found here. -
Use
npm
to installgrunt
$ npm install -g grunt
- Use
yarn
to install the package and its dependencies:
$ yarn
- Following a successful installation, use
grunt
to compile static elements.
$ grunt
- To run the project:
$ DEBUG=ioos-us:*
$ node bin/www
The Docker build is far simpler:
$ docker build -t <tag> -f Dockerfile .
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.