-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chapter 1 Writing Modules #1
Conversation
ea87ea2
to
0a344f0
Compare
0a344f0
to
2f25103
Compare
932f5f1
to
fea69cf
Compare
660c1cc
to
54c99f9
Compare
e86a9ab
to
ed5236a
Compare
ed5236a
to
324f233
Compare
yah - sorry for delay
|
to be clear a comment can go anyway, e.g. ![](images/fig1.1.png)<comment> a comment </comment>
*An `npm init` should look like this*
Upon completion we should have a `package.json`<comment> another comment</comment> file that looks something like the following:
<code>
{
"name": "hsl-to-hex",
"version": "1.0.0",
"description": "",<comment> another comment </comment>
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "David Mark Clements",
"license": "MIT"
}
</code>
### How it Works<comment> yet another comment </comment>
When Node is installed on our system, `npm` comes bundled with it.
The `npm` executable is written in JavaScript, and runs on Node. |
also feel free to abbreviate to |
example of comment-response interaction:
|
@davidmarkclements Just saw the notification. I'll start working on this chapter today. |
On git bash I typed "git clone https://github.com/PacktPublishing/Node-Cookbook-3rd-Ed.git" |
sorry try this:
|
@aruntnadar I can only guess that you're using and old version or obscure fork of git. What you need to do is check out a remote branch, try ideas from http://stackoverflow.com/questions/1783405/checkout-remote-git-branch to begin with |
@davidmarkclements Please check the screenshot. I was able to switch from master to Chapter-1, but I am not able to clone the files from branch Chapter-1. Also, I wanted to ask whether the URL of master branch and Chapter-1 is same, because when I clone, only these following files are getting downloaded to the local machine. |
|
@davidmarkclements Finally! Fetched the content of Chapter 1. I'll start working on it now. How is the next chapter coming along? When can I expect the next chapter? |
@davidmarkclements I evaluated the first recipe in the chapter. Please have a look at the changes and suggestions, and let me know if this kind of feedback works, I'll then proceed ahead. |
@aruntnadar - you haven't pushed your changes to branch... git add .
commit -m 'review'
git push |
@davidmarkclements - could you please check now. I have attached a screenshot of the steps that I did: |
if you look at the commits tab, you can see that nothing has been pushed, @aruntnadar I think another approach may be necessary here, how about this
|
1-Writing-Modules.pdf |
@davidmarkclements : Could you please help me out with how to apply labels? |
@davidmarkclements This is for creating and editing labels, which I did. I checked applying Labels as well: https://help.github.com/articles/applying-labels-to-issues-and-pull-requests/ I am not able to do the third step in that link because there is no checkbox available. |
No description provided.