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

@ -36,6 +36,7 @@ import (
pin "github.com/documize/community/domain/pin"
search "github.com/documize/community/domain/search"
setting "github.com/documize/community/domain/setting"
"github.com/documize/community/domain/onboard"
space "github.com/documize/community/domain/space"
"github.com/documize/community/domain/store"
user "github.com/documize/community/domain/user"
@ -155,6 +156,11 @@ func SetMySQLProvider(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
}
// MySQLProvider supports MySQL 5.7.x and 8.0.x versions.