Skip to content

Developer: Working with the WebContent Repository

Jeffrey Gilliam edited this page Feb 22, 2018 · 2 revisions

If you are a HTML/Javascript/CSS developer and wish to help out, you are in the right place. You do not have to be a GitHub expert, but you will have to have a GitHub account to submit a pull request. So follow these steps.

  1. Install Git on your computer.
  2. On the https://github.com/SIMRacingApps/SIMRacingAppsWebContent page, click the "fork" button.
  3. From your forked repository, select "clone or download" button and select clone or copy the url if you are using Git.
  4. To test, you will bypass the launcher and run java directly. In the parameters, you will be passing in the path to where your clone is.
    java.exe -Xms256m -Xmx512m -Djna.nosys=true -classpath "{PathToClone};{PathToServer.exe};{PathToDocumentsSRA}" com.SIMRacingApps.Server
    
    Example:
    java.exe -Xms256m -Xmx512m -Djna.nosys=true -classpath "C:\Users\jfgil\Documents\GitHub\SIMRacingAppsWebContent;C:\Users\jfgil\OneDrive\SIMRacingApps\SIMRacingAppsServer_1.6_Build_BETA-2018.02.13.exe;c:\Users\jfgil\Documents\SIMRacingApps" com.SIMRacingApps.Server
    
  5. Commit your changes to your fork and push the changes to GitHub in your fork.
  6. Create a pull request.