Updated README.

This commit is contained in:
Ram Vempati 2021-06-03 11:22:11 -04:00
parent 5e4600a161
commit b49dec45ed

View File

@ -12,6 +12,7 @@ npm install -g yarn
Then clone the project and run:
```
cd website
npm install
yarn install
```
@ -88,3 +89,19 @@ If you arent satisfied with the build tool and configuration choices, you can
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
# Troubleshooting
If you are developing the project, make sure to replace
```
"start": "serve -s build/"
```
with these four lines:
```
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
```
This is the only way to open up localhost and have it reload with your changes.