website/developer-docs: add note for node16 and npm i for api

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-14 22:09:45 +02:00
parent 95ceabe1ba
commit 4882de6ade
2 changed files with 9 additions and 0 deletions

View File

@ -43,6 +43,7 @@ gen-web:
-g typescript-fetch \
-o /local/web/api \
--additional-properties=typescriptThreePlus=true,supportsES6=true,npmName=authentik-api,npmVersion=1.0.0
cd web/api && npm i
cd web/api && npx tsc
gen-outpost:

View File

@ -4,6 +4,14 @@ title: Frontend-only development environment
If you want to only make changes on the UI, you don't need a backend running from source. You can user the docker-compose install with a few customizations.
### Prerequisites
- Node (any recent version should work, we use 16.x to build)
- Make (again, any recent version should work)
- Docker and docker-compose
### Instructions
1. Clone the git repo from https://github.com/goauthentik/authentik
2. In the cloned repository, follow the docker-compose installation instructions [here](/docs/installation/docker-compose)
3. Add the following entry to your `.env` file: