diff --git a/README.md b/README.md index bb39ebb..1684713 100644 --- a/README.md +++ b/README.md @@ -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 aren’t 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 you’re on your own. You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t 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.