Page 1 of 1

Setting up remote PHP project

Posted: Mon Jul 31, 2017 2:37 pm
by CardBoy
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

Re: Setting up remote PHP project

Posted: Mon Jul 31, 2017 3:00 pm
by eranif
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