Created
February 18, 2019 18:16
-
-
Save rokkoo/c76c60c3e2a0daa7bd14a4e980cb3bb1 to your computer and use it in GitHub Desktop.
How to start correctly node server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npx license mit > LICENSE | |
$ npx gitignore node | |
$ npx covgen YOUR_EMAIL_ADDRESS | |
$ npm init -y | |
# These four commands do everything that I was doing manually and more, setting up a project for success right from the start. | |
npx license mit uses the license package to download a license of choice, in this case the MIT license | |
npx gitignore node uses the gitignore package to automatically download the relevant .gitignore file from GitHub’s repo | |
npx covgen uses the covgen package to generate the Contributor Covenant and give your project a code of conduct that will be welcoming to all contributors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment