Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added grunt serve for basic webserver functionality, also updated REA… #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ module.exports = function(grunt) {
}]
}
}
},
serve: {
options: {
port: 9000
}
}
});

Expand All @@ -108,5 +113,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-string-replace');
grunt.loadNpmTasks('grunt-serve');
grunt.registerTask('default', [ 'concat:css', 'cssmin:css', 'concat:fb', 'concat:thirdparty', 'concat:plugins', 'concat:fb_plugins', 'uglify:fb', 'uglify:plugins', 'uglify:fb_plugins', 'uglify:thirdparty', 'string-replace:css' ]);
};
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Freeboard can be run entirely from a local hard drive. Simply download/clone the
2. npm install
3. grunt

Then run a index.html or index-dev.html through a webserver.
Then run a index.html or index-dev.html through a webserver, or use 'grunt serve' and navigate to localhost:900/index.html in a browser.

### API

Expand Down Expand Up @@ -174,7 +174,7 @@ $(function()
});
```

### Copyright
### Copyright

Copyright © 2013 Jim Heising (https://github.com/jheising)<br/>Copyright © 2013 Bug Labs, Inc. (http://buglabs.net)<br/>Licensed under the **MIT** license.

Expand Down
4 changes: 2 additions & 2 deletions js/freeboard.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/freeboard.plugins.min.js

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions js/freeboard.thirdparty.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/freeboard_plugins.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"grunt-contrib-cssmin": "0.6.1",
"grunt-contrib-watch": "0.5.3",
"grunt-contrib-uglify": "0.6.0",
"grunt-string-replace": "^0.2.7"
"grunt-string-replace": "^0.2.7",
"grunt-serve": "0.1.6"
}
}