Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
开发者_开发百科 Improve this questionI'm about to release a little demo app for play framework in github, and I want everyone to be able to have a look at it, learn from it, and use it as a base for their own developments...
what would be the best license for such a thing (I was thinking about gplv3) and what would be the steps to make it comply with that license?
The process involves adding two elements to each source file of your program: a copyright notice (such as “Copyright 1999 Terry Jones”), and a statement of copying permission, saying that the program is distributed under the terms of the GNU General Public License (or the Lesser GPL).
See "How to use GNU licenses for your own software" from the FSF for more details.
With regards to selecting a license, the following resources should be useful:
- three.org License Chooser
- ZDNet: How to pick an Open Source License
- Choosing an Open Source License
Customarily you would include the standard GPL file and call it LICENSE. You might also put something like "this code us released under the GPL; see the file LICENSE for details" in the README or similar. The GPL also actually explains how to use it; see http://www.gnu.org/copyleft/gpl.html and in particular "How to Apply These Terms to Your New Programs" near the end. (I would recommend reading the license for other reasons, too, if you are about to apply it to a copyrighted work of yours!)
There is no requirement to modify each source file, although it might be a nice gesture towards your user, especially if some files are useful in isolation.
精彩评论