Editing
Using PHPStorm IDE
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Create a new project using existing files on a network volume === First, mount the network volume: <syntaxhighlight lang="bash"> $ mount -t smbfs //user:password@server/share_name path/to/mount </syntaxhighlight> In PhpStorm: * '''File''' > '''New Project from Existing Files...''' * '''Select scenario:''' Web server is on remote host, files are accessible via network share or mounted drive. * '''Specify Local Path''' ** Enter desired project name & path to local project. ** '''Deployment options:''' `Default` * '''Specify Remove Server''' ** Select '''Add new remote server''' if necessary. ** '''Don't check HTTP connection to server:''' `checked` * (Optional) '''Add Remote Server''' ** '''Name:''' ''pick a name'' ** '''Upload/download project files/Folder:''' ''Enter mount point of remote server, e.g. `/users/damien/remote/myshare`'' ** '''Web server root URL:''' ''Enter local URL for the project on the network share, e.g. `http://myproject.dbarchowsky.com`'' ** '''Don't check HTTP connection to server:''' `checked` ** ''Note that the settings for the existing remote servers can be edited via '''PhpStorm''' > '''Preferences''' > '''Build, Execution, Deployment''' > '''Deployment''''' * '''Choose Remote Path''' ** Highlight the folder representing the project root, then click '''Project Root''' button above the directory tree. ** Also optionally select individual folders and mark them to be excluded from indexing, e.g. `.sass-cache`, `node_modules`, etc. * '''Specify Web Path''' ** Enter a path relative to the project root where the web root is located. * After clicking the '''Next''' button at this point, PhpStorm will be begin downloading files from the network share to the local project directory and the PhpStorm project will be created. '''TODO:''' Document how to prevent vendor files from being downloaded from the network share when the project is created.
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information