-* Be sure to always run `git submodule update` after pulling, as merge/rebase
- does not automatically update the checked out commit in submodules if it has
- been changed.
-* The initial clone will be a bit slower, due to it having to pull down a
- separate copy of ZF2 from what you already have.
+ chdir(dirname(__DIR__));
+ require_once (getenv('ZF2_PATH') ?: 'vendor/ZendFramework/library') . '/Zend/Loader/AutoloaderFactory.php';
+
+ // Setup autoloader
+ AutoloaderFactory::factory();
+
+Within modules/Application/Module.php add this method to the Application class:
+
+ public function getAutoloaderConfig()
+ {
+ return array(
+ 'Zend\Loader\StandardAutoloader' => array(
+ 'namespaces' => array(
+ __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
+ ),
+ ),
+ );
+ }
+
+Virtual Host
+------------
+Afterwards, set up a virtual host to point to the public/ directory of the
+project and you should be ready to go!