-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Added instructions to run the project. #4
base: main
Are you sure you want to change the base?
Conversation
or npm install --save three |
------------- | ||
|
||
`sudo npm install http-server -g` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why using sudo
? You can install "globally" for the user
ref:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or use npx?
|
||
#### 1) Install http-server globaly: | ||
------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- why adding a breakline after this H4 (4 #) ?
- Why use H4 when above you have a H2 (2 #) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
having doubts about changes in .gitgnore
@@ -6,3 +6,6 @@ npm-debug.log | |||
*.png | |||
.env | |||
.DS_Store | |||
package-lock.json | |||
.gitignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why's gitignore in the gitignore?
@@ -6,3 +6,6 @@ npm-debug.log | |||
*.png | |||
.env | |||
.DS_Store | |||
package-lock.json | |||
.gitignore | |||
package.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, package.json and it's lock are good to be present, not gitignored
------------- | ||
|
||
`sudo npm install http-server -g` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just use python
python -m http.server 6969
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge conflict 😿
Included instructions on how to the the project (Credit to @nigelreign). Also added package-lock.json & package.json to .gitignore