Setting a Project Root that is Different than your web root

I'm trying to create a project from existing files on sftp.

What I would like to do is set a project root that is different than the web root. For instance, my bootstrap file and web assets folder are under the web root on ftp at /html, but my application files are below the /html directory in a separate directory named /app/

I may be missing something simple, but I can't seem to setup a project so that I can relate the web root to a folder inside of the project root instead of the project root itself.

Thanks for any help,

1 comment


Please mark web root a Resource Root in Settings | Directories. You can do it on already downloaded project, or while creating a project from exiting files, on Choose Remote Path step.

Best regards,
Elena Shaverdova


Please sign in to leave a comment.