- Create a GitHub account (if you don't already have one)
- On the command line, in your home directory or a directory you have for projects, run:
git clone https://github.com/nodejs/node.git
- When that is done:
cd node
- Go to https://github.com/nodejs/node and use the "Fork" button to fork your own repo of node
- On the page for your fork, use the "Clone or download" button and copy the URL for cloning to your clipboard, then run:
git remote add mine <paste that URL here!>
- Follow the instructions at https://github.com/nodejs/node/blob/master/BUILDING.md to build Node.js.
- Email [email protected] or tweet at @NodeTodo to get a good first contribution to work on or to get help with any of the above steps.
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
import http from 'http-next' | |
import fs from 'fs' | |
const server = http.createServer({ | |
allowHTTP1: true, | |
allowHTTP2: true, | |
allowHTTP3: true, | |
key: fs.readFileSync('localhost-privkey.pem'), | |
cert: fs.readFileSync('localhost-cert.pem') | |
}) |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |