NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] project set-up


Joined: 14 Aug 2009
Posts: 35
Reply with quote
I know this is a common topic here so before posting I have searched through posts, read the documentation, but still can't get it right.

I am debugging on a remote apache dev server.

the project structure is as follows:

- project root
- - lots of sub directories
- - project web root
- - some files as well which I want to be able to see and edit (eg project notes text files and .htaccess)


So within the project root I have several files and 7 or 8 subdirectories, one of which is the web root directory.

How do I set up this project in PhpED?

Below details some of my attempts so far. Feel free to answer the question without reading them. Just thought I'd include them to make it clear that I have already tried several times, AND I have tried using the wizard. All with no luck.



I tried to use the wizard but the result it gave me tried to download the directory on the server which contains the project root. So it downloaded all the projects on my sever, and put them all locally within the web root in my local project. I also noticed that the wizard didnt fill in the Top publishing dir or the root URL. When I fill these in with the project-root and the web url respectively, it doesnt download anything when I hit sync.

So I've tried to set it up manually and heres what I've got so far:

Properties tab >> project
- Root directory:
c:\path\to\my\projects\folders\project-root (not project-web-root )

Properties tab >> publishing
- Top publishing directory:
/home/path/on/server/to/projects/project-root (not project-web-root )

Properties tab >> mapping
- Root URL:
http://mywebsite ( to open the project web root in a browser)

- Remote root directory:
/home/path/on/server/to/projects/project-root/project-web-root

In the Mapping tab it then looks wrong, with two lines, both mapping the web root. And when I sync it doesnt download anything. So I change the first one to only map the project root. not the web root. Hence removing the URL as well (which still exists in the second mapping entry). Then when I go back to the main properties tab it has changed, with the Root URL gone and the remote root set to the project root, not the web root. The documentation seems to suggest that the Remote Root Directory in the properties tab should be pointing to the web root. Again, when I sync at this point it doesnt download anything.

All in all I'm very confused. I've spent ages reading the documentation, web posts, and experimenting with different set ups that I havent listed here.

So. Based on the project structure listed at the top of the post, how do I set it up?

It seems like it should be really straight forward. I have a project root which should be mapped to a local project root, which contains everything in the project. And then out of that project tree I just need to tell phpED which one is the web root folder.... right..?

Heh. Well. I would really appreciate some help. Thanks in advance.


Last edited by cr0wn3r on Sun Aug 16, 2009 3:30 pm; edited 1 time in total
View user's profileFind all posts by cr0wn3rSend private message


Joined: 14 Aug 2009
Posts: 35
Reply with quote
I think I might have got it. Not completely sure as I havent managed to download the whole project yet without the ftp hanging, but it seems to only be getting the project files, and it seems to be putting them in the right place locally.

Problem was the top publishing directory - the wizard didnt set it but it needed to be set to the project root, relative to the ftp log in dir.
Also the Mapping - Remote root directory: needed to be set to the remote project root, not the remote project web-root. That's a bit odd as I'm sure the docs said otherwise.

Anyway... if it does work properly when I get enough of the project downloaded to know for sure then I'll mark this topic as resolved.

As a side note, I'd estimate I've spent about 5 hours spread out over the last two days trying to work out how to set up a project. And I havent been shy of reading the documentation. I'd say it needs a bit of embelishment!



[edit: this now works, and debugging works as well, despite the fact that Properties tab >> Mapping >> Root URL isnt set. So I dint understand it, but it works! ]
View user's profileFind all posts by cr0wn3rSend private message
[resolved] project set-up
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic