Buddypress plugin via composer - Wrong path with web/app

Hi guys,

First of all - bedrock rocks. Using composer for managing wordpress & plugins in a way that makes sense is definetely a must. Thanks for this project.

Now, I just created a new bedrock project, configured my .env, added the following line to my composer.json and ran a composer update :

  "require": {
    "php": ">=5.3.2",
    "wordpress/wordpress": "3.9",
    "fancyguy/webroot-installer": "1.1.0",
    "composer/installers": "v1.0.12",
    "vlucas/phpdotenv": "~1.0.6",
    "wpackagist-plugin/buddypress": "*"   
  },
  "extra": {
    "installer-paths": {
      "web/app/plugins/{$name}/": ["type:wordpress-plugin"],
      "web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
      "web/app/themes/{$name}/": ["type:wordpress-theme"]
    },
    "webroot-dir": "web/wp",
    "webroot-package": "wordpress/wordpress"
  }

My setup runs wp fine, the plugin can be activated.
My BuddyPress admin page : http://x111.public/bedrock/web/wp/wp-admin/index.php?page=bp-about

Now, I cannot see any image nor css because it looks for resources in /app not /wep/app:

GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/css/admin-bar.css?ver=2.0 404 (Not Found) index.php?page=bp-about:25
GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/admin/css/common.css?ver=2.0 404 (Not Found) index.php?page=bp-about:32
GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/js/confirm.js?ver=2.0 404 (Not Found) index.php?page=bp-about:46
GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/images/bp20/performance.png 404 (Not Found) index.php?page=bp-about:201
GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/images/bp20/admin-xprofile.jpg 404 (Not Found) index.php?page=bp-about:214
GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/images/bp20/users-pending.jpg 404 (Not Found) index.php?page=bp-about:220
GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/images/bp20/tools-buddypress.jpg 404 (Not Found) index.php?page=bp-about:228
GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/images/bp20/load-newest.jpg 404 (Not Found) index.php?page=bp-about:254
GET http://x111.public/bedrock/app/plugins/buddypress/bp-core/images/bp20/user-mark-spam.jpg 404 (Not Found) index.php?page=bp-about:234

Any idea ?
Xavier

Your web/document root in your web server configuration needs to include the web/ folder: /full/path/to/bedrock/web/

Of course !
Now it works.

Thanks,
Xavier