2020-02-29 07:43:59 +07:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: Authelia Scripts
|
|
|
|
parent: Contributing
|
2021-01-30 15:29:07 +07:00
|
|
|
nav_order: 2
|
2020-02-29 07:43:59 +07:00
|
|
|
---
|
|
|
|
|
2019-03-03 06:25:40 +07:00
|
|
|
# Authelia Scripts
|
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
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...
|
2019-03-03 06:25:40 +07:00
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
Those scripts become available after sourcing the bootstrap.sh script with
|
2019-03-03 06:25:40 +07:00
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
```console
|
|
|
|
$ source bootstrap.sh
|
|
|
|
```
|
2019-03-04 05:51:52 +07:00
|
|
|
|
|
|
|
Then, you can access the scripts usage by running the following command:
|
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
```console
|
|
|
|
$ authelia-scripts --help
|
|
|
|
```
|
2019-03-03 06:25:40 +07:00
|
|
|
|
2019-12-06 03:52:04 +07:00
|
|
|
For instance, you can build Authelia (Go binary and frontend) with:
|
2019-03-03 06:25:40 +07:00
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
```console
|
|
|
|
$ authelia-scripts build
|
|
|
|
```
|
|
|
|
|
2019-03-03 06:25:40 +07:00
|
|
|
|
2019-12-06 03:52:04 +07:00
|
|
|
Or build the official Docker image with:
|
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
```console
|
|
|
|
$ authelia-scripts docker build
|
|
|
|
```
|
2019-12-06 03:52:04 +07:00
|
|
|
|
2019-11-16 21:43:20 +07:00
|
|
|
Or start the *Standalone* suite with:
|
2019-03-03 06:25:40 +07:00
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
```console
|
|
|
|
$ authelia-scripts suites setup Standalone
|
|
|
|
```
|
2019-03-03 06:25:40 +07:00
|
|
|
|
2021-04-11 18:25:03 +07:00
|
|
|
You will find more information in the scripts usage helpers.
|