diff --git a/Gemfile.lock b/Gemfile.lock index 1d600ad59a4c0e062df02aa07fcb99d31693b549..366c239e51f1a5586900221c55a7743bfb9cfc14 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -149,8 +149,5 @@ DEPENDENCIES thin unicorn -RUBY VERSION - ruby 2.2.3p173 - BUNDLED WITH 1.13.0 diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index 4dc62bebd2481ba1f350fe8d9f3c686bbb9f8646..0000000000000000000000000000000000000000 --- a/Gruntfile.js +++ /dev/null @@ -1,43 +0,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 diff --git a/README.md b/README.md index eb67cb7e888bedea2343bab7bdcd633e9982d1b3..a977034ce502ef8d763a554aa394ed9ae11164e4 100644 --- a/README.md +++ b/README.md @@ -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 ==============