quickstart.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Development Quickstart &#8212; Searx Documentation (Searx-1.1.0.tex)</title>
  8. <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
  9. <link rel="stylesheet" type="text/css" href="../_static/searx.css" />
  10. <link rel="stylesheet" type="text/css" href="../_static/tabs.css" />
  11. <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
  12. <script src="../_static/jquery.js"></script>
  13. <script src="../_static/underscore.js"></script>
  14. <script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
  15. <script src="../_static/doctools.js"></script>
  16. <script src="../_static/sphinx_highlight.js"></script>
  17. <script src="../_static/tabs.js"></script>
  18. <link rel="index" title="Index" href="../genindex.html" />
  19. <link rel="search" title="Search" href="../search.html" />
  20. <link rel="next" title="How to contribute" href="contribution_guide.html" />
  21. <link rel="prev" title="Developer documentation" href="index.html" />
  22. </head><body>
  23. <div class="related" role="navigation" aria-label="related navigation">
  24. <h3>Navigation</h3>
  25. <ul>
  26. <li class="right" style="margin-right: 10px">
  27. <a href="../genindex.html" title="General Index"
  28. accesskey="I">index</a></li>
  29. <li class="right" >
  30. <a href="../py-modindex.html" title="Python Module Index"
  31. >modules</a> |</li>
  32. <li class="right" >
  33. <a href="contribution_guide.html" title="How to contribute"
  34. accesskey="N">next</a> |</li>
  35. <li class="right" >
  36. <a href="index.html" title="Developer documentation"
  37. accesskey="P">previous</a> |</li>
  38. <li class="nav-item nav-item-0"><a href="../index.html">Searx Documentation (Searx-1.1.0.tex)</a> &#187;</li>
  39. <li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Developer documentation</a> &#187;</li>
  40. <li class="nav-item nav-item-this"><a href="">Development Quickstart</a></li>
  41. </ul>
  42. </div>
  43. <div class="document">
  44. <div class="documentwrapper">
  45. <div class="bodywrapper">
  46. <div class="body" role="main">
  47. <section id="development-quickstart">
  48. <span id="devquickstart"></span><h1>Development Quickstart<a class="headerlink" href="#development-quickstart" title="Permalink to this heading">¶</a></h1>
  49. <p>Searx loves developers, just clone and start hacking. All the rest is done for
  50. you simply by using <a class="reference internal" href="makefile.html#makefile"><span class="std std-ref">make</span></a>.</p>
  51. <div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>git clone https://github.com/searx/searx.git
  52. </pre></div>
  53. </div>
  54. <p>Here is how a minimal workflow looks like:</p>
  55. <ol class="arabic simple">
  56. <li><p><em>start</em> hacking</p></li>
  57. <li><p><em>run</em> your code: <a class="reference internal" href="makefile.html#make-run"><span class="std std-ref">make run</span></a></p></li>
  58. <li><p><em>test</em> your code: <a class="reference internal" href="makefile.html#make-test"><span class="std std-ref">make test</span></a></p></li>
  59. </ol>
  60. <p>If you think at some point something fails, go back to <em>start</em>. Otherwise,
  61. choose a meaningful commit message and we are happy to receive your pull
  62. request. To not end in <em>wild west</em> we have some directives, please pay attention
  63. to our “<a class="reference internal" href="contribution_guide.html#how-to-contribute"><span class="std std-ref">How to contribute</span></a>” guideline.</p>
  64. <p>If you implement themes, you will need to compile styles and JavaScript before
  65. <em>run</em>.</p>
  66. <div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>make themes
  67. </pre></div>
  68. </div>
  69. <p>Don’t forget to install <a class="reference external" href="https://www.npmjs.com/">npm</a> first.</p>
  70. <div class="sphinx-tabs docutils container">
  71. <div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-0-VWJ1bnR1IC8gZGViaWFu" aria-selected="true" class="sphinx-tabs-tab group-tab" id="tab-0-VWJ1bnR1IC8gZGViaWFu" name="VWJ1bnR1IC8gZGViaWFu" role="tab" tabindex="0">Ubuntu / debian</button><button aria-controls="panel-0-QXJjaCBMaW51eA==" aria-selected="false" class="sphinx-tabs-tab group-tab" id="tab-0-QXJjaCBMaW51eA==" name="QXJjaCBMaW51eA==" role="tab" tabindex="-1">Arch Linux</button><button aria-controls="panel-0-RmVkb3JhIC8gUkhFTA==" aria-selected="false" class="sphinx-tabs-tab group-tab" id="tab-0-RmVkb3JhIC8gUkhFTA==" name="RmVkb3JhIC8gUkhFTA==" role="tab" tabindex="-1">Fedora / RHEL</button></div><div aria-labelledby="tab-0-VWJ1bnR1IC8gZGViaWFu" class="sphinx-tabs-panel group-tab" id="panel-0-VWJ1bnR1IC8gZGViaWFu" name="VWJ1bnR1IC8gZGViaWFu" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo -H apt-get install npm
  72. </pre></div>
  73. </div>
  74. </div><div aria-labelledby="tab-0-QXJjaCBMaW51eA==" class="sphinx-tabs-panel group-tab" hidden="true" id="panel-0-QXJjaCBMaW51eA==" name="QXJjaCBMaW51eA==" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo -H pacman -S npm
  75. </pre></div>
  76. </div>
  77. </div><div aria-labelledby="tab-0-RmVkb3JhIC8gUkhFTA==" class="sphinx-tabs-panel group-tab" hidden="true" id="panel-0-RmVkb3JhIC8gUkhFTA==" name="RmVkb3JhIC8gUkhFTA==" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo -H dnf install npm
  78. </pre></div>
  79. </div>
  80. </div></div>
  81. </section>
  82. <div class="clearer"></div>
  83. </div>
  84. </div>
  85. </div>
  86. <span id="sidebar-top"></span>
  87. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  88. <div class="sphinxsidebarwrapper">
  89. <p class="logo"><a href="../index.html">
  90. <img class="logo" src="../_static/searx_logo_small.png" alt="Logo"/>
  91. </a></p>
  92. <h3>Project Links</h3>
  93. <ul>
  94. <li><a href="https://searx.github.io/searx/blog/index.html">Blog</a>
  95. <li><a href="https://github.com/searx/searx">Source</a>
  96. <li><a href="https://github.com/searx/searx/wiki">Wiki</a>
  97. <li><a href="https://twitter.com/Searx_engine">Twitter</a>
  98. <li><a href="https://github.com/searx/searx/issues">Issue Tracker</a>
  99. </ul><h3>Navigation</h3>
  100. <ul>
  101. <li><a href="../index.html">Overview</a>
  102. <ul>
  103. <li><a href="index.html">Developer documentation</a>
  104. <ul>
  105. <li>Previous: <a href="index.html" title="previous chapter">Developer documentation</a>
  106. <li>Next: <a href="contribution_guide.html" title="next chapter">How to contribute</a></ul>
  107. </li>
  108. </ul>
  109. </li>
  110. </ul>
  111. <div id="searchbox" style="display: none" role="search">
  112. <h3 id="searchlabel">Quick search</h3>
  113. <div class="searchformwrapper">
  114. <form class="search" action="../search.html" method="get">
  115. <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
  116. <input type="submit" value="Go" />
  117. </form>
  118. </div>
  119. </div>
  120. <script>document.getElementById('searchbox').style.display = "block"</script>
  121. </div>
  122. </div>
  123. <div class="clearer"></div>
  124. </div>
  125. <div class="footer" role="contentinfo">
  126. &#169; Copyright 2015-2022, Adam Tauber, Noémi Ványi.
  127. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.3.0.
  128. </div>
  129. <script src="../_static/version_warning_offset.js"></script>
  130. </body>
  131. </html>