Skip to content

Commit

Permalink
fix: global site config initial values
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Jan 21, 2025
1 parent 5012afa commit 7744525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ in {
''
cat > "$PRJ_DATA_HOME/sites/apps.txt" <<<"${lib.concatStringsSep "\n" appNames}"
[[ ! -f "$PRJ_ROOT/patches.txt" ]] && cp -f ${cfg.frappe}/share/patches.txt "$PRJ_ROOT"
[[ ! -f "$PRJ_DATA_HOME/sites/common_site_config.json" ]] && echo "{}" > "$PRJ_DATA_HOME/sites/common_site_config.json"
[[ ! -f "$PRJ_DATA_HOME/sites/common_site_config.json" ]] && echo "{\"redis_cache\": \"redis://127.0.0.1:13311\", \"redis_queue\": \"redis://127.0.0.1:11311\"}" > "$PRJ_DATA_HOME/sites/common_site_config.json"
'';
deps = ["emplace-folders" "ensure-env-vars"];
};
Expand Down

0 comments on commit 7744525

Please sign in to comment.