Code Monkey home page Code Monkey logo

mixtape-melon's Introduction

Mixtape

Getting Started

Track list:

This mixtape is heavily influenced by these projects

Global Dependencies:

Starting:

Install the Node dependencies locally.

npm install

Install the client dependencies.

bower install

Start your Mongo DB instance (if it's not already)

These are the Grunt.js tasks that are available:

  • clean Removes the 'dist' and 'test-reports' directories so that nothing lingers from previous builds.
  • jshint Runs the JavaScript through JSHint to check for errors.
  • concat Combines the almond require shim with the application code.
  • cssmin Concatenates and minifies the project's CSS into one file.
  • uglify Takes the built and optimized require.js file and minifies it for filesize benefits.
  • runapp This will start a Node.js Express server application on a specified port and serve up the application files from various project directories.
  • runapp:development Uses port 3000 to serve the JavaScript files directly from the app/ directory. Serves the compiled style.css contained in 'dist/assets/css' directory.
  • runapp:debug Uses port 3003 to serve the 'human readable' concatenated JavaScript files and compiled CSS.
  • runapp:production Uses port 3033 to serve the concatenated and minified JavaScript and the compiled CSS.
  • less Compiles the Less files into usable CSS.
  • copy Packages up the compiled code and static resources into a deployable directory structure.
  • copy:release Packages up the minified JavaScript code.
  • copy:debug Packages up the readable JavaScript code.
  • docco Iterates throught the source files and creates annotated source code.
  • jade Uses grunt-contrib-jade to compile the jade templates.
  • jade:templates Compiles the client jade templates into html.
  • jade:debug Compiles the index.html for the debug package.
  • jade:release Compiles the index.html for the release package.
  • karma Kicks off the spectacular Karma test runner.

And a couple of shortcut tasks to run various combinations:

  • grunt debug

    • Cleans the project
    • Runs the application JavaScript through JSHint.
    • Compiles the Less into CSS
    • Compiles the JavaScript via RequireJS Optimizer.
    • Minifies the CSS.
    • Compiles the jade templates
  • grunt assemble

    • Does everything in the 'debug' task
    • Concatenates the compiled JS with Almond.js
    • Assembles and packages the application.
  • grunt test

    • Does everything in the 'assemble' task
    • Forks the current process and starts the application server (for e2e testing)
    • Runs the karma unit tests karma:unitci
    • Runs the karma e2e tests karma:e2eci
    • On completion, the forked node server shuts down

mixtape-melon's People

Contributors

brucecoddington avatar mrkelly avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.