[Fixed]-Proper site project structure when project under development

1👍

For development don’t use Apache. use the built-in development server. You can run it with python manage.py runserver. When it comes to less or sass I would recommend to use django-compressor. It integrates well with the django development server where it generates your css on the fly.

I would suggest to use a vagrant box for development. So you can develop on a production like system. It’s also possible to spin up Amazon EC2 instances with vagrant.

You are free in sense of project structure if the configuration is right. It depends heavily on the size of your project. For small projects the default structure fits well. I personally wrap this django-project folder with a folder where git, configs, etc. find there place.

👤t_io

Leave a comment