Updated ReadMe

pull/20/head
leo ouyang 2022-04-22 14:04:36 -04:00
parent f6ef0109ce
commit c1ced16a94
1 changed files with 4 additions and 2 deletions

View File

@ -30,10 +30,12 @@ free-programming-books](https://ebookfoundation.github.io/free-programming-books
6. Type `npm start`. At this point, the commnand prompt should start up the server, and a tab in your default browser should open up to localhost. 6. Type `npm start`. At this point, the commnand prompt should start up the server, and a tab in your default browser should open up to localhost.
## Deployment ## Deployment
MAKE SURE YOU HAVE COMPLETED THE INSTALLATION STEPS FIRST!
1. First, make sure that you the local folder containing the files has a remote configured called "origin". 1. First, make sure that you the local folder containing the files has a remote configured called "origin".
1. If you aren't sure, navigate to the folder using Git (type "cd", then drag and drop folder in to Git command line.). 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` 2. Type `git init`
3. Type `git remote add origin <repo url>`,replacing <repo url> with the url of your github repository. 3. Type `git remote add origin <repo url>`,replacing <repo url> with the url of your github repository.
2. Now, run `npm run deploy`. 2. Now, run 'npm install gh-pages'.
3. This should deploy your code to "https:<username>.github.io/free-programming-books-search/" 3. Now, run `npm run deploy`.
4. This should deploy your code to "https:<username>.github.io/free-programming-books-search/"