mirror of
https://github.com/stashapp/stash.git
synced 2025-12-14 20:33:16 +01:00
Forgot some stuff
This commit is contained in:
parent
66434d106d
commit
db42e43476
2 changed files with 3 additions and 7 deletions
7
main.go
7
main.go
|
|
@ -9,14 +9,7 @@ import (
|
|||
_ "github.com/golang-migrate/migrate/v4/source/file"
|
||||
)
|
||||
|
||||
//var migrationsBox *packr.Box
|
||||
|
||||
func main() {
|
||||
//migrationsBox := packr.New("My Box", "./internal/database/migrations")
|
||||
//html, err := migrationsBox.FindString("1_initial.up.sql")
|
||||
//fmt.Println(html, err)
|
||||
//fmt.Println("hello world")
|
||||
|
||||
managerInstance := manager.Initialize()
|
||||
database.Initialize(managerInstance.StaticPaths.DatabaseFile)
|
||||
|
||||
|
|
|
|||
|
|
@ -52,4 +52,7 @@ The error was: %s
|
|||
logger.Fatalf(msg, instance.StaticPaths.ConfigDirectory, err)
|
||||
}
|
||||
}
|
||||
|
||||
instance.StaticPaths.FFMPEG = ffmpegPath
|
||||
instance.StaticPaths.FFProbe = ffprobePath
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue