root: remove usage of make-gen
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
d8e8cc062b
commit
0344e5d9b3
|
@ -163,7 +163,6 @@ jobs:
|
||||||
- name: Build web api client and web ui
|
- name: Build web api client and web ui
|
||||||
run: |
|
run: |
|
||||||
export NODE_ENV=production
|
export NODE_ENV=production
|
||||||
make gen-web
|
|
||||||
cd web
|
cd web
|
||||||
npm i
|
npm i
|
||||||
npm run build
|
npm run build
|
||||||
|
|
|
@ -309,7 +309,6 @@ stages:
|
||||||
displayName: Build static files for e2e
|
displayName: Build static files for e2e
|
||||||
inputs:
|
inputs:
|
||||||
script: |
|
script: |
|
||||||
make gen-web
|
|
||||||
cd web
|
cd web
|
||||||
cd api && npm i && cd ..
|
cd api && npm i && cd ..
|
||||||
npm i
|
npm i
|
||||||
|
|
|
@ -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.
|
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.
|
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
|
6. `cd web`
|
||||||
7. `cd web`
|
7. Run `npm i` and then `npm run watch` to start the build process.
|
||||||
8. 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).
|
You can now access authentik on http://localhost:9000 (or https://localhost:9443).
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,7 @@ To simplify translation you can use https://www.transifex.com/beryjuorg/authenti
|
||||||
- Make (again, any recent version should work)
|
- Make (again, any recent version should work)
|
||||||
- Docker
|
- Docker
|
||||||
|
|
||||||
In the root of the cloned repository, run `make gen-web` to generate the API Client used by the webinterface.
|
Run `npm i` in the `/web` folder to install all dependencies.
|
||||||
|
|
||||||
Afterwards, run `npm i` in the `/web` folder to install all dependencies.
|
|
||||||
|
|
||||||
Ensure the language code is in the `package.json` file in `web/`:
|
Ensure the language code is in the `package.json` file in `web/`:
|
||||||
|
|
||||||
|
|
Reference in New Issue