codeforhuntsville / Frontier

A civic app for finding whats near me
http://codeforhuntsville.com/
MIT License
9 stars 7 forks source link

add LICENSE file and include license in package.json and README #11

Closed chadxz closed 9 years ago

chadxz commented 9 years ago

There needs to be an explicit LICENSE file indicating MIT license, and list MIT as the license in the package.json of the project and the README.md. That way it is clear that the project is open source. Without explicitly specifying, it has an implicit copyright.

git-madhav commented 9 years ago

How do we prepare MIT license file? I saw MIT license file related lines package.json.

chadxz commented 9 years ago

create a file "LICENSE.txt" in the root of the project with the following contents:

The MIT License (MIT)

Copyright (c) 2015 Frontier Contributors

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.

then in the package.json you can set "license": "MIT", and in the README, just put a header of "License" with a link to the license file, using markdown syntax:

# License
[MIT](/LICENSE.txt)
git-madhav commented 9 years ago

Done. Thanks for the text and instructions.