From c7bbf3bc35e8091782b0c9fa5954de6f2d47a95f Mon Sep 17 00:00:00 2001 From: erik-sn Date: Sat, 19 Sep 2020 16:46:48 -0400 Subject: [PATCH] Added additional line to readme indicating caution on the index.html --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c36bad4..2898e6b 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ The development environment assumes you have the following prerequisites: ### Development Environment +#### Steps + 1. Clone the repo into your `server-data/resources/[local]` folder 1. Go into the react project: `cd phone` 1. Install node dependencies: `yarn install` @@ -29,6 +31,8 @@ The development environment assumes you have the following prerequisites: 3. Add the `new-phone-who-dis` app to your `server.cfg` 4. Start your fivem server -Development iteration cycle: +#### Development iteration cycle: + - If iterating on client/server LUA make your change and then `restart new-phone-who-dis` in the fivem server terminal - If iteration on UI changes run the project with `yarn watch` which will monitor the JavaScript project and rebuild when you make code changes and then `restart new-phone-who-dis` after making your change +- Avoid commiting `index.html` as the development version overrides the production version