From 8a7e4417242da5e1ec9cdbc674671c98ea0ec46f Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Sat, 20 Aug 2016 11:43:27 -0400 Subject: [PATCH] Adding license file and changing welcome message extension --- README.md | 4 ++++ .../{welcome_msg.txt => welcome_msg.md} | 0 license | 21 +++++++++++++++++++ server.js | 2 +- 4 files changed, 26 insertions(+), 1 deletion(-) rename client/homebrew/pages/homePage/{welcome_msg.txt => welcome_msg.md} (100%) create mode 100644 license diff --git a/README.md b/README.md index a71890f..7ce76b9 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,7 @@ You can use [Docker](https://docs.docker.com) to get up and running with Natural ### changelog You can check out the changelog [here](https://github.com/stolksdorf/homebrewery/blob/master/changelog.md) + +### license + +This project licensed under [MIT](./license) \ No newline at end of file diff --git a/client/homebrew/pages/homePage/welcome_msg.txt b/client/homebrew/pages/homePage/welcome_msg.md similarity index 100% rename from client/homebrew/pages/homePage/welcome_msg.txt rename to client/homebrew/pages/homePage/welcome_msg.md diff --git a/license b/license new file mode 100644 index 0000000..ca2c416 --- /dev/null +++ b/license @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Scott Tolksdorf + +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/server.js b/server.js index 7382e41..a8b9c88 100644 --- a/server.js +++ b/server.js @@ -150,7 +150,7 @@ app.get('/source/:id', function(req, res){ }); //Home and 404, etc. -var welcomeText = require('fs').readFileSync('./client/homebrew/pages/homePage/welcome_msg.txt', 'utf8'); +var welcomeText = require('fs').readFileSync('./client/homebrew/pages/homePage/welcome_msg.md', 'utf8'); var changelogText = require('fs').readFileSync('./changelog.md', 'utf8'); app.get('*', function (req, res) { vitreumRender({