Hi
This is the situation
I have a set of PHP files held on a remote server
I have CodeLite setup on my windows box.
I want to create a codelite workspace and project locally on the windows box and then import the remote files.
I dont seem to be able to do this.
If this is possible I would be grateful if someone could give me some guidance.
Thanks
Setting up remote PHP project
-
- CodeLite Curious
- Posts: 1
- Joined: Mon Jul 31, 2017 2:31 pm
- Genuine User: Yes
- IDE Question: php
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Setting up remote PHP project
You need to checkout the sources locally.
Once you have the sources locally:
- Create a PHP workspace for that sources.
- In the workspace view, click on the "Setup automatic upload" icon. You will get then be asked to select the corresponding remote folder on the remote machine
Once setup, each time you save a file locally, it will be uploaded to the remote machine over SSH (using SCP)
Some notes:
* This setup allows you to work locally and the changes will be cloned to the remote copy
* The process of the initial source files checkout should be done in other tools (like: git, svn or even simple SFTP dedicated software like FileZilla)
EDIT:
Here is how its done for C++ workspace, which should give you some more insight on how things done:
http://codelite.org/LiteEditor/SFTP#toc3
Once you have the sources locally:
- Create a PHP workspace for that sources.
- In the workspace view, click on the "Setup automatic upload" icon. You will get then be asked to select the corresponding remote folder on the remote machine
Once setup, each time you save a file locally, it will be uploaded to the remote machine over SSH (using SCP)
Some notes:
* This setup allows you to work locally and the changes will be cloned to the remote copy
* The process of the initial source files checkout should be done in other tools (like: git, svn or even simple SFTP dedicated software like FileZilla)
EDIT:
Here is how its done for C++ workspace, which should give you some more insight on how things done:
http://codelite.org/LiteEditor/SFTP#toc3
Make sure you have read the HOW TO POST thread