Directories & File Structure
The initial directory structure of a HUBzero install.
/hubzero /administrator /api /bin /cache /cli /components /images /includes /language /libraries /logs /media /migrations /modules /plugins /site /templates /tmp /unittest /vendor configuration.php index.php htaccess.txt robots.txt
While this looks very much like past hub installs, there are some noticeable exceptions. Some directories vital to HUBzero functionality have been added. A quick explanation of the additional directories:
- HUBzero comes with an API for accessing data from the various components and extensions in a light-weight, speedy manner. This directory contains the entry point to the API and can be accessed by visiting http://yourhub.org/api
- This is where database migrations are stored and is vital to keeping an install up-to-date.
HUBzero uses Composer to manage several libraries that the framework employs. The
vendordirectory is the repository used and managed by Composer for those libraries and should not be directly altered.