mirror of
https://github.com/PotentiaRobotics/website.git
synced 2025-04-09 15:00:20 -04:00
Updated README.
This commit is contained in:
parent
5e4600a161
commit
b49dec45ed
17
README.md
17
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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user