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