Skip to content

torieketcham/comt-landing

 
 

Repository files navigation

comt-landing

The homepage for https://comt.ioos.us

Building the project

  1. Download and install nodejs (which comes with npm)

  2. Install the project nodeJS dependencies

    npm install
    
  3. Install the project bower dependencies. If you have bower installed as a command line tool, which is highly recommended.

    bower install
    

    Otherwise, you can run bower through the local packages

    node_modules/bower/bin/bower install
    
  4. To run the project

    DEBUG=comt-landing:* npm start
    

Running in Production

  1. Compile all of the static assets

    grunt
    
  2. Launch the web application

    NODE_ENV=production ./bin/www
    

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

About

IOOS COMT Landing page

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 43.7%
  • CSS 29.1%
  • JavaScript 23.1%
  • Shell 2.6%
  • Dockerfile 1.5%