Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Doc Update docs for frontend-compile
Browse files Browse the repository at this point in the history
As frontend compile step is done now inside docker container, we do not
need to do it before. This is updating the documentation so it reflects
the code changes made.
  • Loading branch information
Toxix committed Jul 5, 2021
1 parent adbef2e commit 3189ea4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion docs/administration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 3 additions & 11 deletions docs/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ To do the setup you need to perform the steps from the following chapters in a c
pipenv install --dev
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:

Expand Down Expand Up @@ -272,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
Expand Down

0 comments on commit 3189ea4

Please sign in to comment.