Manage all of your iRacing accessories and data
- Control custom LED fixtures (currently just an RPM gauge)
- Set up driver profiles and compete for the fastest lap times
- Develop your own iRacing apps using the SimRig API
cd backend
pip install -r requirements.txt
This is a background service that will connect to iRacing, so install it on the system you use to play iRacing.
cd web-app
npm install
ng serve
cd web-app
ng build --prod
The compiled application is generated in the dist
folder. How you host it is up to you.
python simriglights.py
To keep this running all the time, you can configure a NSSM service, or use PM2 if you already have NodeJS installed.
Browse to http://localhost:4200, add some drivers and light controllers, then start racing!
Check out http://localhost:8000/docs for Swagger UI documentation, or the ReDoc documentation at http://localhost:8000/redoc
pip install pytest
pytest
All backend unit tests are run using pytest
npm test
All Angular unit tests are run using karma in a headless Chrome browser
The project is also configured to be run with Docker Compose:
docker-compose up
This will bring up the entire application. To bring up a single service (i.e. the backend API):
docker-compose up backend
And to force a rebuild:
docker-compose up --build