#35501: collectstatic takes more than an hour to complete
-------------------------------------+-------------------------------------
               Reporter:  SuffiyanA  |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  5.0
  contrib.staticfiles                |
               Severity:  Release    |       Keywords:  collectstatic
  blocker                            |
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Hey everyone,

 Might seem rookie but for some reason my collectstatic takes more than an
 hour to complete. Some details: the static files are stored on the same VM
 as the app, theres no s3 or any such service connected. I looked for
 solutions online and found collectfast but wanted to come here and see if
 theres anything wrong with my config:

 STATIC_URL = '/static/'

 if not DEBUG:
     # Tell Django to copy statics to the `staticfiles` directory
     # in your application directory on Render.
     STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')

     # Turn on WhiteNoise storage backend that takes care of compressing
 static files
     # and creating unique names for each version so they can safely be
 cached forever.
     STATICFILES_STORAGE =
 'whitenoise.storage.CompressedManifestStaticFilesStorage'

 pretty boilerplate configs

 Any suggestions regarding this would be really helpful.
 Thank you
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35501>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018ff4fe98fc-41a85c7b-69f9-46a8-a3fb-b404db02b054-000000%40eu-central-1.amazonses.com.

Reply via email to