Skip to content

Commit

Permalink
feat: Add .env file with default section open flag(local.sh)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikoamu committed Oct 3, 2024
1 parent 8a30681 commit d874212
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d874212

Please sign in to comment.