mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Simplify Heroku deployment
This commit is contained in:
parent
45dde0cf4a
commit
0429bbb19d
3 changed files with 28 additions and 0 deletions
10
cli/cli.go
10
cli/cli.go
|
@ -67,5 +67,15 @@ func Parse() {
|
|||
return
|
||||
}
|
||||
|
||||
// Run migrations and start the deamon.
|
||||
if cfg.RunMigrations() {
|
||||
store.Migrate()
|
||||
}
|
||||
|
||||
// Create admin user and start the deamon.
|
||||
if cfg.CreateAdmin() {
|
||||
createAdmin(store)
|
||||
}
|
||||
|
||||
daemon.Run(cfg, store)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue