Skip to content

Commit

Permalink
try adding php flarum install
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchae committed Sep 11, 2023
1 parent eb9fb03 commit 8785b77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/flarum.nix
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ in {
+ lib.optionalString
(cfg.createDatabaseLocally && cfg.database.driver == "mysql") ''
cp ${flarumInstallConfig} ${cfg.stateDir}/config.php
php flarum install
exit 0 # FIXME(jl): exit early here, still need to fix php flarum cache
php flarum cache:clear
'';
Expand Down

0 comments on commit 8785b77

Please sign in to comment.