This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-03-06 19:27:05 +00:00
|
|
|
---
|
|
|
|
title: Website development environment
|
|
|
|
---
|
|
|
|
|
|
|
|
If you want to only make changes to the website, you only need node.
|
|
|
|
|
|
|
|
### Prerequisites
|
|
|
|
|
2023-05-17 20:44:47 +00:00
|
|
|
- Node.js (any recent version should work; we use 20.x to build)
|
2023-03-06 19:27:05 +00:00
|
|
|
- Make (again, any recent version should work)
|
|
|
|
|
|
|
|
:::info
|
2023-04-21 10:54:23 +00:00
|
|
|
Depending on platform, some native dependencies might be required. On macOS, run `brew install node@20`
|
2023-03-06 19:27:05 +00:00
|
|
|
:::
|
|
|
|
|
|
|
|
### Instructions
|
|
|
|
|
|
|
|
1. Clone the git repo from https://github.com/goauthentik/authentik
|
|
|
|
2. Run `make website-install` to install the website development dependencies
|
|
|
|
3. Run `website-watch` to start a development server to see and preview your changes
|
|
|
|
4. Finally when you're about to commit your changes, run `make website` to run the linter and auto-formatter.
|