housekeeping
This commit is contained in:
parent
00ce3486a0
commit
93dc74a4cc
8 changed files with 1083 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,6 +4,7 @@ venv/
|
|||
scanners/ole/venv/
|
||||
tmp/
|
||||
temp/
|
||||
node_modules
|
||||
**/__pycache__
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/linux,go,vim,visualstudiocode,macos,windows
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,go,vim,visualstudiocode,macos,windows
|
||||
|
|
5
Makefile
5
Makefile
|
@ -27,13 +27,14 @@ clean: ## Delete build artifacts
|
|||
rm -rf storage/*
|
||||
|
||||
dev: ## Start templ-dev tailwind-dev and watch
|
||||
make -j3 templ-dev tailwind-dev watch
|
||||
make -j5 templ-dev tailwind-dev capa-dev ole-dev watch
|
||||
|
||||
templ-dev: ## Watch & Live rebuild of templ
|
||||
templ generate --watch --proxy="http://localhost:8080" --open-browser=false
|
||||
|
||||
tailwind-dev: ##Live rebuild of tailwind
|
||||
tailwindcss -o server/web/assets/styles.css -i input.css --watch
|
||||
#tailwindcss -o server/web/assets/styles.css -i input.css --watch
|
||||
npx @tailwindcss/cli -o server/web/assets/styles.css -i input.css --watch
|
||||
|
||||
ole-dev: ##Live rebouild of ole-scanner
|
||||
. ./venv/bin/activate; \
|
||||
|
|
|
@ -12,3 +12,8 @@ these dependencies are required additionally to what is specified in go.mod and
|
|||
- python3 3.13
|
||||
- python3-venv
|
||||
|
||||
|
||||
## TODO
|
||||
ICAP - if someone wants to integrate (multiple) Antivirus scanners
|
||||
CAPE - for dynamic sandbox analysis
|
||||
|
||||
|
|
|
@ -17,4 +17,5 @@ services:
|
|||
- "5001:5001"
|
||||
volumes:
|
||||
- "./storage/files:/mnt/storage/files"
|
||||
|
||||
# db:
|
||||
# image: 'postgres:latest'
|
||||
|
|
2
go.mod
2
go.mod
|
@ -4,7 +4,7 @@ go 1.24.1
|
|||
|
||||
require (
|
||||
github.com/Oudwins/tailwind-merge-go v0.2.1
|
||||
github.com/a-h/templ v0.3.865
|
||||
github.com/a-h/templ v0.3.924
|
||||
github.com/gabriel-vasile/mimetype v1.4.9
|
||||
github.com/gorilla/securecookie v1.1.2
|
||||
github.com/gorilla/sessions v1.4.0
|
||||
|
|
2
go.sum
2
go.sum
|
@ -2,6 +2,8 @@ github.com/Oudwins/tailwind-merge-go v0.2.1 h1:jxRaEqGtwwwF48UuFIQ8g8XT7YSualNuG
|
|||
github.com/Oudwins/tailwind-merge-go v0.2.1/go.mod h1:kkZodgOPvZQ8f7SIrlWkG/w1g9JTbtnptnePIh3V72U=
|
||||
github.com/a-h/templ v0.3.865 h1:nYn5EWm9EiXaDgWcMQaKiKvrydqgxDUtT1+4zU2C43A=
|
||||
github.com/a-h/templ v0.3.865/go.mod h1:oLBbZVQ6//Q6zpvSMPTuBK0F3qOtBdFBcGRspcT+VNQ=
|
||||
github.com/a-h/templ v0.3.924 h1:t5gZqTneXqvehpNZsgtnlOscnBboNh9aASBH2MgV/0k=
|
||||
github.com/a-h/templ v0.3.924/go.mod h1:FFAu4dI//ESmEN7PQkJ7E7QfnSEMdcnu7QrAY8Dn334=
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
|
|
1063
package-lock.json
generated
Normal file
1063
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
6
package.json
Normal file
6
package.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"@tailwindcss/cli": "^4.1.11",
|
||||
"tailwindcss": "^4.1.11"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue