Standardizing your instance directory layout
We recommend that your development and production environments all use a similar directory layout. This standardization will prove helpful when you have to perform maintenance operations, and it will also ease your day-to-day work.
This recipe creates a directory structure that groups files with similar life cycles or similar purposes in standardized subdirectories.
Note
This recipe is only useful if you want to manage similar folder structure development and production environments. If you do not want this, you can skip this recipe.
Also, it is not compulsory to observe the same folder structure as in this recipe. Feel free to alter this structure to suit your needs.
We generate a clean directory structure with clearly labeled directories and dedicated roles. We are using different directories to store the following:
- Code maintained by other people (in
src/
) - Local-specific code
- The file store of the instance...