summaryrefslogtreecommitdiff
path: root/docs/dev/quickstart.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dev/quickstart.rst')
-rw-r--r--docs/dev/quickstart.rst33
1 files changed, 12 insertions, 21 deletions
diff --git a/docs/dev/quickstart.rst b/docs/dev/quickstart.rst
index fee09216e..7e4ce8b68 100644
--- a/docs/dev/quickstart.rst
+++ b/docs/dev/quickstart.rst
@@ -5,6 +5,7 @@ Development Quickstart
======================
.. _npm: https://www.npmjs.com/
+.. _Node.js: https://nodejs.org/
SearXNG loves developers, just clone and start hacking. All the rest is done for
you simply by using :ref:`make <makefile>`.
@@ -24,37 +25,27 @@ choose a meaningful commit message and we are happy to receive your pull
request. To not end in *wild west* we have some directives, please pay attention
to our ":ref:`how to contribute`" guideline.
-If you implement themes, you will need to compile styles and JavaScript before
-*run*.
+If you implement themes, you will need to setup a :ref:`make node.env` once:
.. code:: sh
- make themes.all
-
-Don't forget to install npm_ first.
-
-.. tabs::
-
- .. group-tab:: Ubuntu / debian
-
- .. code:: sh
+ make node.env
- sudo -H apt-get install npm
+Before you call *make run* (2.), you need to compile the modified styles and
+JavaScript:
- .. group-tab:: Arch Linux
-
- .. code-block:: sh
-
- sudo -H pacman -S npm
+.. code:: sh
- .. group-tab:: Fedora / RHEL
+ make themes.all
- .. code-block:: sh
+Alternatively you can also compile selective the theme you have modified,
+e.g. the *simple* theme.
+.. code:: sh
- sudo -H dnf install npm
+ make themes.simple
If you finished your *tests* you can start to commit your changes. To separate
-the changed code from the build products first run:
+the modified source code from the build products first run:
.. code:: sh