mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
* [DEV] Debug authelia when running a suite. This runs dlv debugger within authelia backend container so that an IDE can remote debug the application using port 2345. * Apply suggestions from code review Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
18 lines
409 B
Bash
Executable File
18 lines
409 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
# We move out of the workspace to not include the modules as dependencies of the project.
|
|
cd /
|
|
|
|
echo "Use hot reloaded version of Authelia backend"
|
|
go get github.com/cespare/reflex
|
|
go get github.com/go-delve/delve/cmd/dlv
|
|
|
|
cd /app
|
|
|
|
# Sleep 10 seconds to wait the end of npm install updating web directory
|
|
# and making reflex reload multiple times.
|
|
sleep 10
|
|
|
|
reflex -c /resources/reflex.conf |