diff --git a/.gitignore b/.gitignore index 38f13aa..290d800 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ !.gitignore _site .sass-cache +/node_modules/ +/bower_components/ diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..2d15847 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,27 @@ +module.exports = function(grunt) { + + var path = require('path'); + + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + + bower: { + install: { + options: { + targetDir: 'vendor', + cleanTargetDir: true, + layout: function(type, component, source) { + return type; + } + } + } + } + }); + + // These plugins provide necessary tasks. + grunt.loadNpmTasks('grunt-bower-task'); + + // Default task. + grunt.registerTask('default', ['bower:install']); + +}; diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4e00a27 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Michael Käufl + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ad9151 --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +# [DUSTI.X(yz)](http://www.dusti.xyz/) + +Bezahlbare open source DIY Feinstaub-Sensoren + +## Local builds + +1. Create development environment + + 1. Clone [git](http://git-scm.com/) repository + + ``` + git clone https://github.com/opendata-stuttgart/opendata-stuttgart.github.io.git + ``` + + 2. Install [Ruby](https://www.ruby-lang.org/en/downloads/) `>= 1.9.3` + + 3. Install [Bundler](http://bundler.io/) + + ``` + gem install bundler + ``` + + 4. Install [Jekyll](http://jekyllrb.com/) + + ``` + bundle install + ``` + + 5. Install [Node.js and npm](https://docs.npmjs.com/getting-started/installing-node) + + 6. Install javascript dependencies + + ``` + $ npm install -g grunt-cli + $ npm install -g bower + $ npm install + $ grunt + ``` + +2. Run Jekyll + + ``` + bundle exec jekyll serve + ``` + +3. Open [`http://localhost:4000/`](http://localhost:4000/) in your browser + + +## License + +All code is licensed under the MIT License. + +### Third party code + +- [Bootstrap](http://getbootstrap.com/) is licensed under the MIT + License, Copyright (c) 2011-2015 Twitter, Inc. + +- [jQuery](https://jquery.com/) is licensed under the MIT License, + Copyright (c) 2014 jQuery Foundation and other contributors. diff --git a/_includes/head.html b/_includes/head.html index ccd60ec..0eff1e9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -6,7 +6,7 @@