django-cms / djangocms-admin-style

django CMS Admin Style is a Django Theme tailored to the needs of django CMS.
http://www.django-cms.org/
Other
411 stars 116 forks source link

Documentation for building with gulp not working #505

Closed MacLake closed 5 months ago

MacLake commented 5 months ago

The documentation for building the bundles with gulp doesn’t work for me. When I build webpack bundles in my projects, I need to use npx webpack, not just webpack. With npx gulp at least I get an error message. Could you please update the instructions, so that it works?

fsbraun commented 5 months ago

I updated the readme. Can you check?

MacLake commented 5 months ago

Thanks, npx gulp icons sass bundle works for me. If gulp icons sass bundle works in your setup, you must have gulp in your path (see echo $PATH). Can you check if you have gulp-cli installed globally like written in the gulp docs? npm ls -g. This makes gulpalso available as a shell command.

In that case it would be easier to just mention npx gulp icons sass bundle which should always work.

fsbraun commented 5 months ago

PyCharm does add it to the path. I guess that's not universal ;-) Changed it.

MacLake commented 5 months ago

Ah, I see, I also use PyCharm, but, usually prefer to use a separate Terminal app. But actually it works also for me in PyCharm like you described, but let’s stick to the more universal command with npx. So I close this now.