mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Install helps docs as part of onboarding process
Our own docs are installed as sample data! Refactored search reindexing code.
This commit is contained in:
parent
411f64c359
commit
3621e2fb79
26 changed files with 1957 additions and 1280 deletions
|
@ -28,6 +28,7 @@ import (
|
|||
label "github.com/documize/community/domain/label"
|
||||
link "github.com/documize/community/domain/link"
|
||||
meta "github.com/documize/community/domain/meta"
|
||||
"github.com/documize/community/domain/onboard"
|
||||
org "github.com/documize/community/domain/organization"
|
||||
page "github.com/documize/community/domain/page"
|
||||
permission "github.com/documize/community/domain/permission"
|
||||
|
@ -153,6 +154,11 @@ func SetPostgreSQLProvider(r *env.Runtime, s *store.Store) {
|
|||
labelStore := label.Store{}
|
||||
labelStore.Runtime = r
|
||||
s.Label = labelStore
|
||||
|
||||
// New user onboarding.
|
||||
onboardStore := onboard.Store{}
|
||||
onboardStore.Runtime = r
|
||||
s.Onboard = onboardStore
|
||||
}
|
||||
|
||||
// Type returns name of provider
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue