2020-02-29 00:43:59 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: Authelia Scripts
|
|
|
|
parent: Contributing
|
|
|
|
---
|
|
|
|
|
2019-03-02 23:25:40 +00:00
|
|
|
# Authelia Scripts
|
|
|
|
|
|
|
|
Authelia comes with a set of dedicated scripts doing 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 22:51:52 +00:00
|
|
|
Those scripts becomes available after sourcing the bootstrap.sh script with
|
2019-03-02 23:25:40 +00:00
|
|
|
|
2020-04-11 04:46:07 +00:00
|
|
|
$ source bootstrap.sh
|
2019-03-03 22:51:52 +00:00
|
|
|
|
|
|
|
Then, you can access the scripts usage by running the following command:
|
|
|
|
|
2020-04-11 04:46:07 +00:00
|
|
|
$ 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
|
|
|
|
2020-04-11 04:46:07 +00:00
|
|
|
$ 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:
|
|
|
|
|
2020-04-11 04:46:07 +00:00
|
|
|
$ 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
|
|
|
|
2020-04-11 04:46:07 +00:00
|
|
|
$ authelia-scripts suites setup Standalone
|
2019-03-02 23:25:40 +00:00
|
|
|
|
|
|
|
You will find more information in the scripts usage helpers.
|