Changeset - 0765771dbe5a
[Not reviewed]
default
0 2 0
Mads Kiilerich (mads) - 6 years ago 2020-08-13 15:24:35
mads@kiilerich.com
docs: clarify the need for having 'npm' and 'node' available in $PATH
2 files changed with 9 insertions and 5 deletions:
0 comments (0 inline, 0 general)
docs/installation.rst
Show inline comments
 
@@ -138,13 +138,17 @@ You can now proceed to :ref:`install-fro
 
.. _install-front-end:
 

	
 

	
 
Prepare front-end files
 
-----------------------
 

	
 
Finally, the front-end files must be prepared. This requires ``npm`` version 6
 
or later, which needs ``node.js`` (version 12 or later). Prepare the front-end
 
by running::
 
Finally, the front-end files with CSS and JavaScript must be prepared. This
 
depends on having some commands available in the shell search path: ``npm``
 
version 6 or later, and ``node.js`` (version 12 or later) available as
 
``node``. The installation method for these dependencies varies between
 
operating systems and distributions.
 

	
 
Prepare the front-end by running::
 

	
 
    kallithea-cli front-end-build
 

	
 
You can now proceed to :ref:`setup`.
docs/overview.rst
Show inline comments
 
@@ -18,14 +18,14 @@ installing Kallithea.
 
      API.
 

	
 
2. **Install Kallithea software.**
 
    This makes the ``kallithea-cli`` command line tool available.
 

	
 
3. **Prepare front-end files**
 
    Some front-end files must be fetched or created using ``npm`` tooling so
 
    they can be served to the client as static files.
 
    Some front-end files must be fetched or created using ``npm`` and ``node``
 
    tooling so they can be served to the client as static files.
 

	
 
4. **Create low level configuration file.**
 
    Use ``kallithea-cli config-create`` to create a ``.ini`` file with database
 
    connection info, mail server information, configuration for the specified
 
    web server, etc.
 

	
0 comments (0 inline, 0 general)