Skip to content

Commit 8323f2d

Browse files
committed
Disable Flarum announcements in test environment
1 parent dc04de8 commit 8323f2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ init: start
1818
{{MARIADB-RUN}} mariadb-admin -uroot -hmariadb --skip-ssl drop flarum --force || true
1919
{{MARIADB-RUN}} mariadb-admin -uroot -hmariadb --skip-ssl create flarum
2020
{{PHP-DB-RUN}} php flarum install -f docker/install.yml
21+
{{PHP-DB-RUN}} php -r '$c = include "config.php"; $c["flarum_announcements.disabled"] = true; file_put_contents("config.php", "<?php return " . var_export($c, true) . ";");'
2122
{{PHP-DB-RUN}} php flarum app:enable-extensions
2223
{{PHP-DB-RUN}} php flarum migrate
2324
{{PHP-DB-RUN}} php flarum assets:publish

0 commit comments

Comments
 (0)