Skip to content

Commit d19d16f

Browse files
committed
Add instructions for running an optimized build in README.md
1 parent 433ad34 commit d19d16f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@ This project was built using these technologies.
4242
- `CD` into the project's directory.
4343
- Run `npm install`.
4444
- Run `npm start`.
45-
- To run an optimized production build use `npm run build`
45+
46+
## Running an optimized build
47+
- Run `npm install`.
48+
- Run `npm run build` to create an optimized build.
49+
- Run `install -g serve` to install serve globally.
50+
- Run `serve -s build` to serve the optimized build.
51+
- From the terminal, you can see the local address & network address to view the build, copy and paste it in your browser.
4652

4753
## Known Issues
4854
- Security issues found in dependencies, See issue [#26](https://github.com/OudomMunint/StudioZed-ReactJS/issues/26)

0 commit comments

Comments
 (0)