diff options
author | ikoamu <ikoamu@gmail.com> | 2024-10-03 23:18:23 +0900 |
---|---|---|
committer | ikoamu <ikoamu@gmail.com> | 2024-10-03 23:18:23 +0900 |
commit | d874212092c5fc35109b9a333bb38b6ea9dc8cc8 (patch) | |
tree | 663d05205fb5556bc70c6b5ba208f36010f355b5 | |
parent | 8a30681ecd443153fb7f3a65a662cf873d3df1a7 (diff) |
feat: Add .env file with default section open flag(local.sh)
-rwxr-xr-x | local.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -10,6 +10,13 @@ if [ ! -d "org-roam-ui" ]; then git clone -b publish-org-roam-ui https://github.com/ikoamu/org-roam-ui fi +# create .env file +pushd org-roam-ui +if [ ! -f ".env" ]; then + echo "NEXT_PUBLIC_DEFAULT_SECTION_OPEN=true" > .env +fi +popd + # Generate data for org-roam-ui npm install npm run generate:graphdata --script_params=$ROAM_DB_PATH |