Import your racing simulator game libraries and customize your gaming experience using a single-page web UI built using HTML, CSS, & JavaScript
- Build or publish the
App/RacerUIapplication - Within PowerShell, run
.\RacerUI.exeafter navigating to the published folder to start the RacerUI web server. - Navigate to
http://localhost:6500(the configured URL) to log into the dashboard - Add your game to the library to start scanning the file system for cars & tracks.
- Build the Docker image using the provided Dockerfile
- Configuration found in
App/config.jsonAdminsection contains admin username & password
- If you want to change the web server port, update
App/Properties/launchSettings.jsonRacerUI profile
- Uses .NET console application to host a MVC + Razor web app in
App/Program.cs- Models found in
App/Models - Views (Razor) found in
App/Views - Controllers found in
App/Controllers
- Models found in
- Uses custom JavaScript framework found in
App/Scripts- compile scripts using
gulp default - while working on scripts, run
gulp watchto watch for changes and compile on the fly - HTML Components are loaded using api endpoint
api/views/{path}that returns HTML files located inApp/Views
- compile scripts using
- Uses custom CSS UI framework found in
App/CSS- compile CSS using
gulp less - while working on css, run
gulp watchto watch for changes and compile on the fly
- compile CSS using
- Uses Sqlite for free database storage in
App/SQL - Uses SignalR for real-time updates between web app & server in
App/SignalR App/wwwrootfolder contains the compiled files
The SVG icons compiler can be found in Images/SVG. All SVG files located in Images/SVG/icons are compiled into App/wwwroot/images/icons.svg. Please follow the instructions below to compile icons
- run
gulp iconsto compile icons - make sure no SVG elements contain
fillattributes unless specified since we are going to use CSS colors to color the icons the same way we color text
