Exercise: Create a code of conduct, license, readme

In notebook:
FrontEndMasters Creating an Open Source JavaScript Library on Github
Created at:
2017-07-17
Updated:
2017-07-17
Tags:

Readme.md

Markdown is the standard format for docs.

He creates the readme.md...

Then he creates the LICENSE file. It's mostly copy paste. You can also scaffold all this with a generator e.g. Yeoman. HE copies it from opensource.org. The MIT license. Then just update the year and copyright holder name.

Then finally code of conduct file: CODE_OF_CONDUCT. He looks up from the goople "open source code of conduct", contributor-covenant.org is good to adopt. It has a markdown version. Then you need to update the email address.

###npm init

package.json

what is the -f in git checkout -f ...?

  • It blows away your changes