From 0344e5d9b3caa68489ffc8c2f7e7ebb48e4dbae9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 15 Aug 2021 21:32:17 +0200 Subject: [PATCH] root: remove usage of make-gen Signed-off-by: Jens Langhammer --- .github/workflows/release.yml | 1 - azure-pipelines.yml | 1 - website/developer-docs/frontend-only-dev-environment.md | 5 ++--- website/developer-docs/translation.md | 4 +--- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a866c2587..95fbf4720 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -163,7 +163,6 @@ jobs: - name: Build web api client and web ui run: | export NODE_ENV=production - make gen-web cd web npm i npm run build diff --git a/azure-pipelines.yml b/azure-pipelines.yml index aeb8d7305..211f6e455 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -309,7 +309,6 @@ stages: displayName: Build static files for e2e inputs: script: | - make gen-web cd web cd api && npm i && cd .. npm i diff --git a/website/developer-docs/frontend-only-dev-environment.md b/website/developer-docs/frontend-only-dev-environment.md index 5de863c20..ef0aacac8 100644 --- a/website/developer-docs/frontend-only-dev-environment.md +++ b/website/developer-docs/frontend-only-dev-environment.md @@ -43,9 +43,8 @@ If you want to only make changes on the UI, you don't need a backend running fro This makes the local web files and the config file available to the authentik server. 5. Run `docker-compose up -d` to apply those changes to your containers. -6. Run `make gen-web` in the project root directory to generate the API Client used by the web interfaces -7. `cd web` -8. Run `npm i` and then `npm run watch` to start the build process. +6. `cd web` +7. Run `npm i` and then `npm run watch` to start the build process. You can now access authentik on http://localhost:9000 (or https://localhost:9443). diff --git a/website/developer-docs/translation.md b/website/developer-docs/translation.md index 337d8b817..ce2191a56 100644 --- a/website/developer-docs/translation.md +++ b/website/developer-docs/translation.md @@ -18,9 +18,7 @@ To simplify translation you can use https://www.transifex.com/beryjuorg/authenti - Make (again, any recent version should work) - Docker -In the root of the cloned repository, run `make gen-web` to generate the API Client used by the webinterface. - -Afterwards, run `npm i` in the `/web` folder to install all dependencies. +Run `npm i` in the `/web` folder to install all dependencies. Ensure the language code is in the `package.json` file in `web/`: