mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
Prettified Code!
This commit is contained in:
1 parent
7c6fb3bab6
commit
6dc162a107
1 file changed
+5
-6
@@ -1,11 +1,11 @@
|
|||||||
# New Phone Who Dis
|
# New Phone Who Dis
|
||||||
|
|
||||||
The original repo for NPWD
|
The original repo for NPWD
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
## Production Server Installation
|
## Production Server Installation
|
||||||
|
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
This resource is highly configurable through the [config.json](./config.json). This JSON file holds configuration for the phone itself, for the apps running on it and peripheral information.
|
This resource is highly configurable through the [config.json](./config.json). This JSON file holds configuration for the phone itself, for the apps running on it and peripheral information.
|
||||||
@@ -13,7 +13,7 @@ This resource is highly configurable through the [config.json](./config.json). T
|
|||||||
Below is the list of configuration options:
|
Below is the list of configuration options:
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
|--------------------------------------|----------|--------------------------------------------------------------------------------------------------------------------------------|
|
| ------------------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
| Locale | en | The language locale used by the app. See [fivem keybinds](https://docs.fivem.net/docs/game-references/controls/) for options |
|
| Locale | en | The language locale used by the app. See [fivem keybinds](https://docs.fivem.net/docs/game-references/controls/) for options |
|
||||||
| KeyTogglePhone | 288 (F1) | The keybind to open and close the app. See [fivem keybinds](https://docs.fivem.net/docs/game-references/controls/) for options |
|
| KeyTogglePhone | 288 (F1) | The keybind to open and close the app. See [fivem keybinds](https://docs.fivem.net/docs/game-references/controls/) for options |
|
||||||
| PhoneAsItem | false | whether or not the phone is an item in game |
|
| PhoneAsItem | false | whether or not the phone is an item in game |
|
||||||
@@ -47,7 +47,6 @@ Current discord integrations with the phone:
|
|||||||
|
|
||||||
- Twitter: reporting tweets
|
- Twitter: reporting tweets
|
||||||
|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
This phone is a [React](https://reactjs.org/) project with a TypeScript client/server environment.
|
This phone is a [React](https://reactjs.org/) project with a TypeScript client/server environment.
|
||||||
@@ -69,9 +68,9 @@ The development environment assumes you have the following prerequisites:
|
|||||||
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`
|
||||||
2. Install `lint-staged` globally `npm i -g lint-staged
|
1. Install `lint-staged` globally `npm i -g lint-staged
|
||||||
3. Add the `new-phone-who-dis` app to your `server.cfg`
|
1. Add the `new-phone-who-dis` app to your `server.cfg`
|
||||||
4. Start your fivem server
|
1. Start your fivem server
|
||||||
|
|
||||||
#### Development iteration cycle:
|
#### Development iteration cycle:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user