2023-03-16 23:15:43 +01:00
# Nitro
2023-03-17 02:45:19 +01:00
This is a fork of [billsonnn/nitro-react ](https://github.com/billsonnn/nitro-react ) `dev` branch and [billsonnn/nitro-renderer ](https://github.com/billsonnn/nitro-renderer ) `main` branch. It was converted to a monorepository using Nx workspaces and features of [oobjectt ](https://github.com/oobjectt ) [duckietm ](https://github.com/duckietm ) [Gurkengewuerz ](https://github.com/Gurkengewuerz ) are merged.
2023-03-16 23:15:43 +01:00
2023-03-17 02:45:19 +01:00
## Installation
2023-03-19 22:12:19 +01:00
- Clone Nitro
- `git clone https://git.gurkengewuerz.de/nitro/nitro.git`
- Install the dependencies
- `npm install`
- Rename a few files
- Rename `apps/frontend/public/renderer-config.json.example` to `apps/frontend/public/renderer-config.json` and edit it
- Rename `apps/frontend/public/ui-config.json.example` to `apps/frontend/public/ui-config.json` and edit it
2023-03-17 02:45:19 +01:00
## Usage
2023-03-19 22:12:19 +01:00
- To use Nitro you need `.nitro` assets generated, see [nitro-converter ](https://git.krews.org/nitro/nitro-converter ) for instructions.
- See [Morningstar Websockets ](https://git.krews.org/nitro/ms-websockets ) for instructions on configuring websockets on your server.
2023-03-17 02:45:19 +01:00
See [Gurkengewuerz/nitro-docker ](https://git.gurkengewuerz.de/nitro/nitro-docker ) for a complete setup.
2023-03-16 23:15:43 +01:00
## Development server
Run `nx serve frontend` for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
## Understand this workspace
Run `nx graph` to see a diagram of the dependencies of the projects.
2023-03-17 02:45:19 +01:00
## Learn more about a Nx workspace
2023-03-16 23:15:43 +01:00
Visit the [Nx Documentation ](https://nx.dev ) to learn more.