Commit eddf30c3 authored by Tyler Lemburg's avatar Tyler Lemburg
Browse files

Remove Gruntfile and add more instruction in README

parent 3a4eb030
......@@ -149,8 +149,5 @@ DEPENDENCIES
thin
unicorn
RUBY VERSION
ruby 2.2.3p173
BUNDLED WITH
1.13.0
'use strict';
module.exports = function (grunt) {
// load all grunt tasks
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.initConfig({
watch: {
// if any .less file changes in directory "public/css/" run the "less"-task.
css: {
files: "src/less/*.less",
tasks: ["less", "cssmin"]
}
},
// "less"-task configuration
less: {
// production config is also available
development: {
options: {
// Specifies directories to scan for @import directives when parsing.
// Default value is the directory of the source, which is probably what you want.
paths: ["public/css/"],
},
files: {
// compilation.css : source.less
"public/css/resource_scheduler.css": "src/less/resource_scheduler.less"
}
},
},
cssmin: {
target: {
files: [{
expand: true,
src: ['public/css/resource_scheduler.css', 'public/css/resource_scheduler.css'],
}]
}
}
});
// the default task (running "grunt" in console) is "watch"
grunt.registerTask('default', ['watch']);
};
\ No newline at end of file
......@@ -18,6 +18,7 @@ Using local resources
8. Install the WDN Framework into the `public/wdn` directory...see [WDN Documentation](http://wdn.unl.edu/documentation).
9. Start the server by going to the root directory and doing `bundle exec shotgun -o 0.0.0.0 -p 9292`. This launches the server on localhost port 9292, listening everywhere (you can use your iimlemburg.unl.edu or whichever), and the server will automatically update to new code. If you add gems to the bundle, you will need to re-execute this command.
10. Navigate to `localhost:9292/` or similar and begin!
11. In another terminal, type `bundle exec guard` in the project root to execute LESS compilation.
Quick Tutorial
==============
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment