mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Added additional line to readme indicating caution on the index.html
This commit is contained in:
1 parent
04473f0e14
commit
c7bbf3bc35
1 file changed
+5
-1
@@ -22,6 +22,8 @@ The development environment assumes you have the following prerequisites:
|
|||||||
|
|
||||||
### Development Environment
|
### Development Environment
|
||||||
|
|
||||||
|
#### Steps
|
||||||
|
|
||||||
1. Clone the repo into your `server-data/resources/[local]` folder
|
1. Clone the repo into your `server-data/resources/[local]` folder
|
||||||
1. Go into the react project: `cd phone`
|
1. Go into the react project: `cd phone`
|
||||||
1. Install node dependencies: `yarn install`
|
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`
|
3. Add the `new-phone-who-dis` app to your `server.cfg`
|
||||||
4. Start your fivem server
|
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 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
|
- 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
|
||||||
Reference in new issue
Block a user