Nuestro burocrata preferido: Sam Lowry https://lowry.sindominio.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
lowry/Makefile

31 lines
601 B

all: js go
js:
npm install
npm install --save-dev expose-loader
npm run build
mkdir -p dist/js
cp assets/zxcvbn.js dist/js
cp assets/zxcvbn-bootstrap-strength-meter.js dist/js
cp assets/jquery.dynatable* dist/js
go:
go get .
go build
clean:
rm -rf node_modules dist lowry
deps:
sudo apt install ldap-utils golang npm
run_ldap:
docker run --rm -d -p 389:3389 --name ldap registry.sindominio.net/ldap
sleep 1
ldapadd -x -w password -H ldap://localhost:389/ -f examples/data.ldif -D "cn=admin,dc=nodomain"
demo:
./lowry -noLockUsers -config examples/lowry.conf
test:
go test ./...