From 9f895fe65f0ceade1a9708ede8e1a805eb140b6e Mon Sep 17 00:00:00 2001 From: Toxix Date: Mon, 5 Jul 2021 02:43:15 +0200 Subject: [PATCH] Doc Update docs for frontend-compile 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. --- docs/administration.rst | 1 - docs/extending.rst | 15 +++------------ 2 files changed, 3 insertions(+), 13 deletions(-) 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 `_ 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