diff --git a/docs/installing.md b/docs/installing.md index 6ae75da..799778f 100644 --- a/docs/installing.md +++ b/docs/installing.md @@ -87,14 +87,20 @@ as an example, create a file at `/etc/dimension/config.yaml`. After creating the file, open it in an editor like `nano` and start filling in the details. Don't forget to add your user ID as an admin in the configuration - this is important later! -If you're using Docker, leave the `web` `port` and `address` as-is. Additionally, make sure to configure -the `database` section to look like this: +If you're using Docker, leave the `web` `port` and `address` as-is. Dimension supports SQLite and PostgreSQL as the database. Make sure to configure the `database` section to look like this for SQLite: ```yaml database: file: "/data/dimension.db" botData: "/data/bot.json" ``` +or for PostgreSQL: +```yaml +database: + uri: "postgres://admin:password@localhost:5432/matrix-dimension" + botData: "/data/bot.json" +``` + ### Step 3: Running Dimension **Docker**: diff --git a/web/app/app.module.ts b/web/app/app.module.ts index 66009eb..5e37ff9 100644 --- a/web/app/app.module.ts +++ b/web/app/app.module.ts @@ -133,7 +133,7 @@ export function HttpLoaderFactory(http: HttpClient) { routing, NgbModule, UiSwitchModule, - ToasterModule, + ToasterModule.forRoot(), BrowserAnimationsModule, BreadcrumbModule, CKEditorModule, diff --git a/web/app/widget-wrappers/sticker-picker/sticker-picker.component.html b/web/app/widget-wrappers/sticker-picker/sticker-picker.component.html index 0c93225..8f7e2c7 100644 --- a/web/app/widget-wrappers/sticker-picker/sticker-picker.component.html +++ b/web/app/widget-wrappers/sticker-picker/sticker-picker.component.html @@ -26,14 +26,14 @@