Closed VahidGh closed 9 years ago
@VahidGh I only see one static directory under wsgi directory. and there is not any duplicate static file. would you please expelling more?
@VahidGh I think it's because of "collectstatic" command. May be in production env, we can delete static folders from app directory.
I see. I guess we should use -link
to prevent creation of those files in the wsgi directory (creating symbolic link instead). Would you please check which one is not required and then remove unnecessary ones?
Sure , I will do it
@VahidGh @miladjafary Typically "collectstatic" is run only in production, because in production your static files are only served from one place, served by Apache or Nginx or whatever. In testing locally, the django test server can just serve them from the app directories. And so your staticfiles directory list should have the production location listed first (which will be ignored in local testing), and then the app directory locations next (or rather the staticfiles module that refers to the app directories).
@rgerkin, Right. thanks for your comment.
With the latest updates to UI, now we have two static directories with the same content under wsgi, and related directories for each app (digitizer, web_app, ec).