ilikerobots / cookiecutter-vue-django

Vue 3 + Vite + Django with no compromises. Use Vue SFCs directly in Django Templates, DRF not required.
BSD 3-Clause "New" or "Revised" License
208 stars 24 forks source link

stops when choosing no cloud_provider nor whitenoise #9

Closed nerdoc closed 4 years ago

nerdoc commented 4 years ago

What happened?

It stopped after I didn't choose a cloud_provider, and NOT whitenoise. Didn't know that and had to do all the steps again.

What should've happened instead?

sane defaults. If there is chosen "None" as cloud_provider, whitenoise should be "y" per default.

Steps to reproduce

  1. choose "None" as cloud_provider
  2. choose (default) "n" at use_whitenoise
  3. it stops with an error:
You should either use Whitenoise or select a Cloud Provider to serve static files
ERROR: Stopping generation because pre_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)
ilikerobots commented 4 years ago

Hi, thanks for the report! In this case, though, this is the how the upstream cookiecutter-django works. My goal is to keep this repo as similar to that repo as possible, except for the addition of Vue.

This issue would best be refiled at that repo. If it's fixed there, it will be included here as well next time I sync.