##// END OF EJS Templates
docs: front-end-build is actually a part of the install process - it is shared among all the instances
Mads Kiilerich -
r8363:4d742b17 default
parent child Browse files
Show More
@@ -59,7 +59,7 b' repository, use the following commands i'
59 pip install --upgrade -e .
59 pip install --upgrade -e .
60 python3 setup.py compile_catalog # for translation of the UI
60 python3 setup.py compile_catalog # for translation of the UI
61
61
62 You can now proceed to :ref:`setup`.
62 You can now proceed to :ref:`install-front-end`.
63
63
64 .. _installation-virtualenv:
64 .. _installation-virtualenv:
65
65
@@ -114,7 +114,7 b' An additional benefit of virtualenv is t'
114 - This will install Kallithea together with all other required
114 - This will install Kallithea together with all other required
115 Python libraries into the activated virtualenv.
115 Python libraries into the activated virtualenv.
116
116
117 You can now proceed to :ref:`setup`.
117 You can now proceed to :ref:`install-front-end`.
118
118
119 .. _installation-without-virtualenv:
119 .. _installation-without-virtualenv:
120
120
@@ -133,4 +133,18 b' To install as a regular user in ``~/.loc'
133
133
134 pip install --user kallithea
134 pip install --user kallithea
135
135
136 You can now proceed to :ref:`install-front-end`.
137
138 .. _install-front-end:
139
140
141 Prepare front-end files
142 -----------------------
143
144 Finally, the front-end files must be prepared. This requires ``npm`` version 6
145 or later, which needs ``node.js`` (version 12 or later). Prepare the front-end
146 by running::
147
148 kallithea-cli front-end-build
149
136 You can now proceed to :ref:`setup`.
150 You can now proceed to :ref:`setup`.
@@ -20,20 +20,20 b' 1. **Prepare environment and external de'
20 2. **Install Kallithea software.**
20 2. **Install Kallithea software.**
21 This makes the ``kallithea-cli`` command line tool available.
21 This makes the ``kallithea-cli`` command line tool available.
22
22
23 3. **Create low level configuration file.**
23 3. **Prepare front-end files**
24 Some front-end files must be fetched or created using ``npm`` tooling so
25 they can be served to the client as static files.
26
27 4. **Create low level configuration file.**
24 Use ``kallithea-cli config-create`` to create a ``.ini`` file with database
28 Use ``kallithea-cli config-create`` to create a ``.ini`` file with database
25 connection info, mail server information, configuration for the specified
29 connection info, mail server information, configuration for the specified
26 web server, etc.
30 web server, etc.
27
31
28 4. **Populate the database.**
32 5. **Populate the database.**
29 Use ``kallithea-cli db-create`` with the ``.ini`` file to create the
33 Use ``kallithea-cli db-create`` with the ``.ini`` file to create the
30 database schema and insert the most basic information: the location of the
34 database schema and insert the most basic information: the location of the
31 repository store and an initial local admin user.
35 repository store and an initial local admin user.
32
36
33 5. **Prepare front-end files**
34 Some front-end files must be fetched or created using ``npm`` tooling so
35 they can be served to the client as static files.
36
37 6. **Configure the web server.**
37 6. **Configure the web server.**
38 The web server must invoke the WSGI entrypoint for the Kallithea software
38 The web server must invoke the WSGI entrypoint for the Kallithea software
39 using the ``.ini`` file (and thus the database). This makes the web
39 using the ``.ini`` file (and thus the database). This makes the web
@@ -93,15 +93,6 b' path to the root).'
93 sudo -u postgres createdb 'kallithea' --owner 'kallithea'
93 sudo -u postgres createdb 'kallithea' --owner 'kallithea'
94 kallithea-cli db-create -c my.ini --reuse
94 kallithea-cli db-create -c my.ini --reuse
95
95
96 Prepare front-end files
97 ^^^^^^^^^^^^^^^^^^^^^^^
98
99 Finally, the front-end files must be prepared. This requires ``npm`` version 6
100 or later, which needs ``node.js`` (version 12 or later). Prepare the front-end
101 by running::
102
103 kallithea-cli front-end-build
104
105 Running
96 Running
106 ^^^^^^^
97 ^^^^^^^
107
98
General Comments 0
You need to be logged in to leave comments. Login now