0892.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Run Homarr Application Dashboard on Windows</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Web Based,Web Based Tools,Application Dashboard,Home Lab Dashboard,Homelab,Homepage,Homarr Application Dashboard,Windows,Microsoft Windows,NodeJS,NPM,Homarr,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Run Homarr Application Dashboard on Windows">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="02/11/2024 06:07:00 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Run Homarr Application Dashboard on Windows</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Homarr?</h2>
  26. <p><em>Simplify the management of your server with Homarr - a sleek, modern dashboard that puts all of your apps and services at your fingertips. With Homarr, you can access and control everything in one convenient location. Homarr seamlessly integrates with the apps you&#39;ve added, providing you with valuable information and giving you complete control. Installation is a breeze, and Homarr supports a wide range of deployment methods.</em> -<a href="https://github.com/ajnart/homarr" target="_blank">https://github.com/ajnart/homarr</a></p>
  27. <h2>Installing Homarr</h2>
  28. <ol>
  29. <li>Log into the Windows device</li>
  30. <li>Download the latest Homarr release <a href="https://github.com/ajnart/homarr/releases/latest" target="_blank">Download</a></li>
  31. <li>Download NodeJS <a href="https://nodejs.org/en/download/current/" target="_blank">Download</a></li>
  32. <li>Install NodeJS &gt; During the install, make sure to check the Tools for Native Modules option</li>
  33. <li>At the Native Modules prompt, press any key to begin the installation process<br />
  34. <span style="font-size:12px;"><em>NOTE: This process takes quite a while to install, be patient. Proceed once the PowerShell window closes</em></span></li>
  35. <li>Extract the downloaded Homarr files</li>
  36. <li>Rename the extracted folder homarr</li>
  37. <li>Cut the homarr folder to a location it can safely run from, C:\Program Files\homarr in this example</li>
  38. <li>Click on the Start menu &gt; type cmd &gt; Right click on Command Prompt &gt; Run as administrator</li>
  39. <li>Run the following commands in the Command Prompt window
  40. <div class="codeBlock CMD"># change directory to homarr, C:\Program Files\homarr in this example<br />
  41. cd %programfiles%\homarr<br />
  42. # update npm<br />
  43. npm install -g npm<br />
  44. # install yarn<br />
  45. npm install -g yarn<br />
  46. # fix dependencies<br />
  47. yarn install<br />
  48. # create .env file from example<br />
  49. copy .\.env.example .\.env<br />
  50. # build homarr<br />
  51. yarn build<br />
  52. # migrate database schema<br />
  53. yarn db:migrate<br />
  54. # run homarr<br />
  55. yarn start</div>
  56. </li>
  57. <li>Open a web browser and navigate to http://DNSorIP:3000</li>
  58. <li>Click the Start update process button</li>
  59. <li>Select Standalone Linux / Windows &gt; Click Continue</li>
  60. <li>Enter an admin username and enter and confirm a password &gt; Click Continue</li>
  61. <li>Click the Go to your board button</li>
  62. <li>Welcome to Homarr</li>
  63. </ol>
  64. <h2>Run Homarr on System Startup (Optional, but recommended)</h2>
  65. <ol>
  66. <li>Press CTRL + C to kill the running Homarr process</li>
  67. <li>Open a text editor and paste the following
  68. <p>:: Start homarr server<br />
  69. cd /D &quot;%~dp0&quot;<br />
  70. start &quot;homarr&quot; /b npm start</p>
  71. </li>
  72. <li>Save the file as homarr.bat in the homarr directory, C:\Program Files\homarr in this example</li>
  73. <li>Click on the Start Button &gt; Type task &gt; Launch Task Scheduler</li>
  74. <li>Right click the Task Scheduler Library folder in the left pane &gt; Create Basic Task...</li>
  75. <li>Set the name to Homarr and optionally set a Description &gt; Click Next</li>
  76. <li>For the Trigger, select When the computer starts &gt; Click Next</li>
  77. <li>For the Action, select Start a program &gt; Click Next</li>
  78. <li>Complete the form fields as follows:
  79. <p>Program/script: &quot;%ProgramFiles%\homarr\homarr.bat&quot;<br />
  80. Add arguments:<br />
  81. Start in:</p>
  82. </li>
  83. <li>Click Next</li>
  84. <li>Check the Open the Properties dialog checkbox &gt; Click Finish</li>
  85. <li>In the Properties dialog, click the Change User or Group... button</li>
  86. <li>Type System in the Object name field &gt; Click OK</li>
  87. <li>Check the Run with highest privileges box</li>
  88. <li>Click OK to create the scheduled task</li>
  89. <li>Right click the Homarr task &gt; Run</li>
  90. <li>Refresh the open web browser to verify Homarr is now running from the scheduled task</li>
  91. </ol>
  92. <p>Source: <a href="https://homarr.dev/docs/getting-started/installation/" target="_blank">https://homarr.dev/docs/getting-started/installation/</a></p> </div>
  93. </div>
  94. </body>
  95. </html>