Skip to content

dbashford/AngularFunMimosa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Fun - Mimosa

Original By Cary Landholt

Translated from Grunt to Mimosa

About

  • This is an attempt to play with the features of AngularJS and leverage the goodness of RequireJS
  • Uses controllers, services, directives, filters, and partials
  • Takes advantage of Mimosa's minimal configuration (grunt config vs mimosa config) and built in RequireJS functionality.

Note: The twitter search portion of the demo app no longer functions after Twitter changed their API.

Prerequisites

Install Angular Fun

$ git clone https://github.com/dbashford/AngularFunMimosa.git
$ cd AngularFunMimosa
$ npm install

Run Angular Fun

Run Mimosa's watcher with the server turned on.

$ mimosa watch --server

or

$ mimosa watch -s

This will 1) watch your directory structure and compile things on the fly and 2) run a server at port 3000 so you can view your application 3) serve the assets gzipped and 4) reload the application whenever something successfully compiles (live reload). This will do it without optimizations and this with optimizations:

$ mimosa watch --server --optimize --minify

or

$ mimosa watch -som

Use the build command and the optimize, minify, and package flags and Mimosa will build all of the assets, optimize them into a single file, and then package the application for use outside of Mimosa. Go inside the created dist directory and execute node app.js and the app works the same.

$ mimosa build -omp

About

A sample app using Mimosa, AngularJS, RequireJS, and other things.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 97.0%
  • JavaScript 2.5%
  • CSS 0.5%