mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
66 lines
1.5 KiB
Markdown
66 lines
1.5 KiB
Markdown
|
---
|
||
|
title: "Reference: authelia-scripts"
|
||
|
description: "This section covers the authelia-scripts tool."
|
||
|
lead: "This section covers the authelia-scripts tool."
|
||
|
date: 2022-05-15T13:52:27+10:00
|
||
|
draft: false
|
||
|
images: []
|
||
|
menu:
|
||
|
contributing:
|
||
|
parent: "development"
|
||
|
weight: 290
|
||
|
toc: true
|
||
|
aliases:
|
||
|
- /docs/contributing/authelia-scripts.html
|
||
|
---
|
||
|
|
||
|
__Authelia__ comes with a set of dedicated scripts to perform a broad range of operations such as building the
|
||
|
distributed version of Authelia, building the Docker image, running suites, testing the code, etc. This is a small
|
||
|
reference guide for the command, the full guide can be found in the
|
||
|
[CLI Reference](../../reference/cli/authelia-scripts/authelia-scripts.md).
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Those scripts become available after sourcing the `bootstrap.sh` script with:
|
||
|
|
||
|
```bash
|
||
|
source bootstrap.sh
|
||
|
```
|
||
|
|
||
|
Then, you can access the scripts usage by running the following command:
|
||
|
|
||
|
```bash
|
||
|
authelia-scripts --help
|
||
|
```
|
||
|
|
||
|
For instance, you can build __Authelia__ ([go] binary and [React] frontend) with:
|
||
|
|
||
|
```bash
|
||
|
authelia-scripts build
|
||
|
```
|
||
|
|
||
|
Or build the official [Docker] image with:
|
||
|
|
||
|
```bash
|
||
|
authelia-scripts docker build
|
||
|
```
|
||
|
|
||
|
Or start the *Standalone* suite with:
|
||
|
|
||
|
```bash
|
||
|
authelia-scripts suites setup Standalone
|
||
|
```
|
||
|
|
||
|
## Help
|
||
|
|
||
|
The `authelia-scripts` provides help using the `--help` or `-h` flags. Every command should provide some form of help
|
||
|
when provided with either flag. Examples:
|
||
|
|
||
|
```bash
|
||
|
authelia-scripts --help
|
||
|
```
|
||
|
|
||
|
```bash
|
||
|
authelia-scripts build --help
|
||
|
```
|