Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update setup_dev script to remove manually build public assets as they interfere with lazy loaded modules

Henriette Darge878e90467b4e
diff --git a/bin/setup_dev b/bin/setup_dev
index a812f10e00d..311d7327d03 100755
--- a/bin/setup_dev
+++ b/bin/setup_dev
@@ -11,6 +11,9 @@ printf "Bundling rails dependencies ... "
try 'bundle install > log/setup_dev.log'
echo "done."
+echo "Removing public frontend assets"
+try 'rm -rf public/assets/frontend >> log/setup_dev.log'
+
echo "Installing node_modules ... "
try '(cd frontend && npm ci) >> log/setup_dev.log'