Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xixixao/space-client
Angular and bootstrap client for Space
https://github.com/xixixao/space-client
Last synced: 19 days ago
JSON representation
Angular and bootstrap client for Space
- Host: GitHub
- URL: https://github.com/xixixao/space-client
- Owner: xixixao
- Created: 2013-05-28T16:29:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-19T21:46:32.000Z (over 11 years ago)
- Last Synced: 2024-11-14T20:47:45.419Z (3 months ago)
- Language: JavaScript
- Size: 8.99 MB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Fun - Mimosa
*[Original By Cary Landholt](https://github.com/CaryLandholt/AngularFun)**Translated from Grunt to [Mimosa](http://www.mimosajs.com)*
## About
* This is an attempt to play with the features of [AngularJS](http://angularjs.org/) and leverage the goodness of [RequireJS](http://requirejs.org/)
* Uses controllers, services, directives, filters, and partials
* Takes advantage of Mimosa's minimal configuration ([grunt config](https://github.com/CaryLandholt/AngularFun/blob/master/grunt.js) vs [mimosa config](https://github.com/dbashford/AngularFunMimosa/blob/master/mimosa-config.coffee)) and built in RequireJS functionality.## Prerequisites
* [node.js (at least v0.8.1)](http://nodejs.org/)
* Mimosa
* `npm install -g mimosa`## 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