From ea2be8b7c7122e9338f77d7fe9c36717c9f849a7 Mon Sep 17 00:00:00 2001 From: Luis-Hebendanz Date: Wed, 24 Jan 2024 23:33:28 +0100 Subject: [PATCH] nix fmt --- pkgs/clan-cli/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/clan-cli/README.md b/pkgs/clan-cli/README.md index 32f9a42..5a845ac 100644 --- a/pkgs/clan-cli/README.md +++ b/pkgs/clan-cli/README.md @@ -38,7 +38,6 @@ For Entity object go to - [tests/openapi_client/docs/ResolutionApi.md](tests/openapi_client/docs/ResolutionApi.md) - [tests/openapi_client/docs/RepositoriesApi.md](tests/openapi_client/docs/RepositoriesApi.md) - # Building a Docker Image if the Frontend Changed To build a new docker image when the frontend code and/or backend code changed you first need @@ -98,7 +97,6 @@ Push the image to the git registry docker image push git.tu-berlin.de:5000/internet-of-services-lab/service-aware-network-front-end:latest ``` - # Upload UI assets as a package To upload the release build UI assets to gitlab as a package @@ -114,12 +112,12 @@ To upload the UI assets as a package then execute: Please commit the changes to ui-assets.nix and push them to the repository. If you want clan webui to use the new ui assets. + ```bash $ git commit -m "Update ui-assets.nix" "$PROJECT_DIR/pkgs/ui/nix/ui-assets.nix" $ git push ``` - If you execute `clan webui` the page you will see is a precompiled release version of the UI. This above script will update said precompiled release version. The `./build_docker.sh` script execute this to make sure that the included UI in the docker is up to date. ### The Script Explained @@ -178,6 +176,7 @@ To build a new docker image only when the backend code changed execute: ```bash nix build .#clan-docker ``` + This is much faster then the `./build_docker.sh` script as it needs not to build the frontend and again. This will create a symlink directory called `result` to a tar.gz docker file. Import it by executing: