Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » A question of organization...

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1612 Views
  • nbc
    Avatar
    17 Posts

    A question of organization... Link to this post

    Hi,

    With a bit of help from this forum (thanks!) I now have your software installed. I'm new to the idea of using a system like this tho - I have had a small home website that I built by hand - writing the html and adding a couple of things like a photo gallery and a calendar to it. So I have a couple of startup questions related
    to filesystem layout (and I don't mind wiping out the little I've done and starting over if that is the correct thing to do...)

    My apache server has the document root set to /var/www/html. I installed your software in /var/www/SilverStripe/silverstripe-v2.0.2b. I put a link in /var/www/html/SilverStripe that points to your software and I did the install. But is that 'correct'? Or should my document root point directly to the directory where your software is located? Or should I just install your software in /var/www/html?

    When I'm all done, I want people to come to www.mydomain.com and pick up my starting page - but right now that is in /var/www/html, and does not relate to your software. What is the correct way for me to get started? I'm planning to just experiment a bit with your stuff, but if someone can give me a hint it might save me some time....

    Much obliged,

    nbc

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: A question of organization... Link to this post

    You could install it directly into var/www/html ... then SilverStripe will be used at that level on Apache. I believe if you install it to var/www/html/silverstripe then you have to access mysite.com/silverstripe to access it.

    Hope this helps!

    Sean

  • nbc
    Avatar
    17 Posts

    Re: A question of organization... Link to this post

    So - just to be clear - I should copy all the files and subdirectories in the silverstripe directory into /var/www/html and then do the installation from there - yes?

    Is there an easy way to 'uninstall' the system? Or can I move the files and do another install and have it set up from scratch automatically?

    That does help - I'll try it tonight - thanks!

    nbc

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: A question of organization... Link to this post

    Hi nbc,

    That's correct.

    To "uninstall", simply move all the SilverStripe directories and files somewhere else (don't forget the .htaccess file as well!) from the htdocs root (var/www/html).

    Perhaps a good practice would be to install a 'staging' version of SilverStripe in var/www/html/silverstripe, by accessing it as mysite.com/silverstripe to install. Then, once you know it's all good to go, and everything is working correctly, you can go ahead and move all the files back to the root using mv * ../ and mv .htaccess ../ (which normally doesn't move using * because it's hidden) whilst in var/www/html/silverstripe.

    This is the method I used to install SilverStripe on my host.

    Cheers,
    Sean

  • nbc
    Avatar
    17 Posts

    Re: A question of organization... Link to this post

    Thanks Sean - basically, what you described is what I'm doing - I am installing it in a staging area now. I didn't realize I could then move the resulting files up a level and still have it work - that is great.

    Now if I can just figure out how to get back into the CMS (which is my other open question) I'll be in good shape... I may just erase the whole thing and try starting over one time... Thanks again,

    nbc

    1612 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.