1
0
Fork 0
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:
HarveyKandola 2019-06-24 17:01:56 +01:00
parent 411f64c359
commit 3621e2fb79
26 changed files with 1957 additions and 1280 deletions

View file

@ -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