feat: automate demo-site deployment and configuration (#42)

* add demo env variable

* setup initialization when demo

* disable password when in demo mode

* expose demo status to API

* improve UI for demo instance
This commit is contained in:
Hayden 2022-10-12 12:53:22 -08:00 committed by GitHub
parent eca071f974
commit 92368dabf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 166 additions and 45 deletions

View file

@ -23,6 +23,7 @@ type Config struct {
Log LoggerConf `yaml:"logger"`
Mailer MailerConf `yaml:"mailer"`
Swagger SwaggerConf `yaml:"swagger"`
Demo bool `yaml:"demo"`
}
type SwaggerConf struct {