A directory structure for Django on Linux -


i've got linux machine use solely (multiple) django projects. i'm looking best place put everything. i'm using following directories -

  • /home/code/my_project put django project (ie code created start_project)
  • /home/code/virtualenvs/my_project_env virtualenv
  • /home/www/my_project apache logs

on top of i've been keeping static root , media root directories within main project code -

  • /home/code/my_project/static_root
  • /home/code/my_project/media

the big issue i've hit setup i'm running out of disk space on /home. feel should @ least keeping static files in /var somewhere. should apps go in /opt?

how should set next time? can disk space issues current apps? (is sys admin question?)


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -