CSS JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
routes
views
Gruntfile.js
Procfile
app.js
package-lock.json
package.json
readme.mdown

readme.mdown

Doge Decimal Classification Site

   

This is the code for the website https://dogedc.herokuapp.com/. It's an Express app running on Node. It uses a fairly typically Express stack, including Jade for the markup. Uses the dogedc npm module, naturally.

Installation

  • clone this repo
  • run npm install in its root

Running Locally

Run npm start inside the project's root and a local web server should start running on port 3000. I like to use nodemon in development because it reloads the site every time I change a file and handles crashes nicely; nodemon app inside the project's root will start things off.

There are a few grunt tasks available for development:

  • grunt watch watches style.css for changes & re-minifies it
  • grunt server runs both grunt watch & nodemon app in parallel, making it the best tool for development. If you don't have nodemon installed globally it won't work.
  • grunt build minifies style.css to style.min.css
  • grunt test runs csslint on style.css
  • the grunt default will run test & then build