I am very new to web dev and trying to use the Sakai react template, https://github.com/primefaces/sakai-react, as a starter to my startup project. Am I allowed to use it as much as I want for commercial use? Also, if I won't be publishing my code anywhere, how do I cite the Sakai MIT license? Or if I only want some component in it, is it wrong to copy and paste the code into my project? Thanks
The MIT license allows you to do many things with the software. Examples listed are: "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software" along with the right to allow others to do the same or less if you are doing a commercial project and creating a proprietary license. The MIT license only requires you to copy this license and the (C) line.
You can do this in a couple of ways:
- by uploading the
NOTICESfile with full license.
- By putting the license text and copyright notice in the files you use and copy from the repository
- If you also share your project under the MIT license, just copy the copyright notice and add it as described here.
I will not check the entire repository, but the repository has an MIT license and if there is no other license described in a file, then the file is legally subject to the MIT license.
You can use the code under the MIT license, commercial, non-commercial, private, public for any purpose provided you include attribution.
Theoretically, you're fine if you don't include a mention in your private project, but remember that this is a license that you have to respect, so it's better to put this
NOTICES file in the project directory.
Edit: You are NOT allowed to omit attribution. It is not legal, but no one knows that you omit attribution if your project is private. De facto, many people omit attribution before they test whether code works for them.
This is not legal advice