root: remove usage of make-gen

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-15 21:32:17 +02:00
parent d8e8cc062b
commit 0344e5d9b3
4 changed files with 3 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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).

View file

@ -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/`: