Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Doc Update docs for frontend-compile

Toxix9f895fe65f0c
diff --git a/docs/administration.rst b/docs/administration.rst
index 734a51756..3becf750e 100644
--- a/docs/administration.rst
+++ b/docs/administration.rst
@@ -92,7 +92,6 @@ B. If you built the image yourself, do the following:
.. code:: shell-session
$ git pull
- $ ./compile-frontend.sh
$ docker-compose build
$ docker-compose up
diff --git a/docs/extending.rst b/docs/extending.rst
index f51ecc3a7..e085fd706 100644
--- a/docs/extending.rst
+++ b/docs/extending.rst
@@ -59,12 +59,11 @@ To do the setup you need to perform the steps from the following chapters in a c
pipenv install --dev
* Make sure you're using python 3.9.x or lower. Otherwise you might get issues with building dependencies. You can use `pyenv <https://github.com/pyenv/pyenv>`_ to install a specific python version.
-
-7. Generate the static UI so you can perform a login to get session that is required for frontend development (this needs to be done one time only). From root folder:
+7. Generate the static UI so you can perform a login to get session that is required for frontend development (this needs to be done one time only). From src-ui directory:
.. code:: shell-session
- compile-frontend.sh
+ ./node_modules/.bin/ng build --prod
8. Apply migrations and create a superuser for your dev instance:
@@ -273,15 +272,7 @@ directory.
Building the Docker image
=========================
-Building the docker image from source requires the following two steps:
-
-1. Build the front end.
-
- .. code:: shell-session
-
- ./compile-frontend.sh
-
-2. Build the docker image.
+Building the docker image from source:
.. code:: shell-session