/ocean-acidification

Landing page for IOOS Ocean Acidification

Primary LanguageHTMLBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Ocean Acidification

The front page / home page for IOOS Ocean Acidification

Installation

  1. Download and install nodeJS (should come with npm)

  2. Install bower

    npm install -g bower
    

    You may need to run as sudo

  3. Use node to build the project dependencies

    npm install
    
  4. Use bower to install the UI depencies

    bower install
    
  5. Run the project

    bin/www
    

Developing

Most of this project are static files. The initial pages are loaded as jade templates.

Sample Docker-compose file:

version: '2'

services: ioos-ocean-acidification: image: ocean-acidificationtest:0.0.1 ports: - "3007:3000"

Update the .env file with config variables

For testing Google Analytics and things that use env variables. Update the .env file in your root folder similar to this:

GOOGLE_ANALYTICS_ID=YOUR_ENV_VAR_HERE