updated readme

pull/20/head
leo ouyang 2022-04-21 20:57:03 -04:00
parent 8ce67444dc
commit 7fe2259b24
1 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ free-programming-books](https://ebookfoundation.github.io/free-programming-books
## Installation
### NPM Installation
1. Make sure you have [Node.js](https://nodejs.org/en/) installed. If you already do, skip to [Running the Website](#running-the-website.)
1. Make sure you have [Node.js](https://nodejs.org/en/) installed. If you already do, skip to [Running the Website](#running-the-website)
2. Otherwise, download the LTS installer from [Node.js](https://nodejs.org/en/) website.
3. Follow the instructions of the installer, make sure npm is listed as a package to be installed.
4. Click Install.
@ -31,9 +31,9 @@ free-programming-books](https://ebookfoundation.github.io/free-programming-books
## Deployment
1. First, make sure that you the local folder containing the files has a remote configured called "origin".
a. If you aren't sure, navigate to the folder using Git (type "cd", then drag and drop folder in to Git command line.).
b. Type `git init`
c. Type `git remote add origin <repo url>`,replacing <repo url> with the url of your github repository.
1. If you aren't sure, navigate to the folder using Git (type "cd", then drag and drop folder in to Git command line.).
2. Type `git init`
3. Type `git remote add origin <repo url>`,replacing <repo url> with the url of your github repository.
2. Now, run `npm run deploy`.
3. This should deploy your code to "https:<username>.github.io/free-programming-books-search/"