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_projectput django project (ie code createdstart_project)/home/code/virtualenvs/my_project_envvirtualenv/home/www/my_projectapache 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
Post a Comment